| 4 |
## makefile-engine will do all of the hard work for you. This handles both |
## makefile-engine will do all of the hard work for you. This handles both |
| 5 |
## Intel and PowerPC builds of the BeOS. |
## Intel and PowerPC builds of the BeOS. |
| 6 |
|
|
| 7 |
# Get version number from configure.in |
# Get version number from configure.ac |
| 8 |
version := $(shell grep <configure.in INIT_AUTOMAKE | sed -e 's/.*\[//' -e 's/\].*//') |
version := $(shell grep <configure.ac INIT_AUTOMAKE | sed -e 's/.*\[//' -e 's/\].*//') |
| 9 |
|
|
| 10 |
## Application Specific Settings --------------------------------------------- |
## Application Specific Settings --------------------------------------------- |
| 11 |
|
|
| 33 |
# if two source files with the same name (source.c or source.cpp) |
# if two source files with the same name (source.c or source.cpp) |
| 34 |
# are included from different directories. Also note that spaces |
# are included from different directories. Also note that spaces |
| 35 |
# in folder names do not work well with this makefile. |
# in folder names do not work well with this makefile. |
| 36 |
SRCS=src/main_beos.cpp src/main.cpp src/cl_amp.cpp src/prefs.cpp \ |
SRCS=src/main_beos.cpp src/main.cpp src/cl_amp.cpp src/soundplay.cpp \ |
| 37 |
src/prefs_window.cpp src/mem.cpp src/cpu.cpp src/sid.cpp |
src/prefs.cpp src/prefs_items.cpp src/prefs_window.cpp src/mem.cpp \ |
| 38 |
|
src/cpu.cpp src/sid.cpp |
| 39 |
|
|
| 40 |
# specify the resource files to use |
# specify the resource files to use |
| 41 |
# full path or a relative path to the resource file can be used. |
# full path or a relative path to the resource file can be used. |
| 42 |
RSRCS= SIDPlayer.rsrc |
RSRCS=src/SIDPlayer.rsrc |
| 43 |
|
|
| 44 |
# @<-src@ |
# @<-src@ |
| 45 |
#%} |
#%} |
| 74 |
# additional paths to look for local headers |
# additional paths to look for local headers |
| 75 |
# thes use the form: #include "header" |
# thes use the form: #include "header" |
| 76 |
# source file directories are automatically included |
# source file directories are automatically included |
| 77 |
LOCAL_INCLUDE_PATHS=src/clamp_includes |
LOCAL_INCLUDE_PATHS=src/clamp_includes src/soundplay_includes |
| 78 |
|
|
| 79 |
# specify the level of optimization that you desire |
# specify the level of optimization that you desire |
| 80 |
# NONE, SOME, FULL |
# NONE, SOME, FULL |
| 115 |
# Create links to Frodo sources |
# Create links to Frodo sources |
| 116 |
src/main.cpp: src/cpu_macros.h src/cpu_opcodes.h src/prefs.h src/sid.cpp |
src/main.cpp: src/cpu_macros.h src/cpu_opcodes.h src/prefs.h src/sid.cpp |
| 117 |
src/cpu_macros.h src/cpu_opcodes.h src/prefs.h src/sid.cpp: |
src/cpu_macros.h src/cpu_opcodes.h src/prefs.h src/sid.cpp: |
| 118 |
ln -s ../Frodo/src/$@ $@ |
ln -s ../../Frodo/$@ $@ |
| 119 |
|
|
| 120 |
# Create binary distribution |
# Create binary distribution |
| 121 |
distdir = SIDPlayer-$(version) |
distdir = SIDPlayer-$(version) |