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