- removing the '.h' files from the link-path... dependecies should be captured from file parsing

This commit is contained in:
soules 2006-07-28 15:53:24 +00:00
parent 073fce6bde
commit 5669daa0ab
8 changed files with 1 additions and 40 deletions

View File

@ -60,7 +60,7 @@ sdl_cflags.close();
sdl_libflags = os.popen("sdl-config --libs"); sdl_libflags = os.popen("sdl-config --libs");
LINKFLAGS = sdl_libflags.read(); LINKFLAGS = sdl_libflags.read();
LINKFLAGS = LINKFLAGS.rstrip(os.linesep); LINKFLAGS = " -lz " + LINKFLAGS.rstrip(os.linesep);
sdl_libflags.close(); sdl_libflags.close();
env.Program('fceu', file_list, CCFLAGS=CCFLAGS, LIBPATH=LINKFLAGS) env.Program('fceu', file_list, CCFLAGS=CCFLAGS, LIBPATH=LINKFLAGS)

View File

@ -53,8 +53,6 @@ super24.cpp
supervision.cpp supervision.cpp
t-262.cpp t-262.cpp
tengen.cpp tengen.cpp
mapinc.h
mmc3.h
""") """)
for x in range(len(my_list)): for x in range(len(my_list)):
my_list[x] = 'boards/' + my_list[x] my_list[x] = 'boards/' + my_list[x]

View File

@ -1,23 +1,14 @@
Import('file_list') Import('file_list')
my_list = Split(""" my_list = Split("""
args.cpp args.cpp
args.h
cheat.cpp cheat.cpp
cheat.h
config.cpp config.cpp
config.h
hq2x.cpp hq2x.cpp
hq2x.h
hq3x.cpp hq3x.cpp
hq3x.h
scale2x.cpp scale2x.cpp
scale2x.h
scale3x.cpp scale3x.cpp
scale3x.h
scalebit.cpp scalebit.cpp
scalebit.h
vidblit.cpp vidblit.cpp
vidblit.h
""") """)
for x in range(len(my_list)): for x in range(len(my_list)):
my_list[x] = 'drivers/common/' + my_list[x] my_list[x] = 'drivers/common/' + my_list[x]

View File

@ -1,23 +1,13 @@
Import('file_list') Import('file_list')
my_list = Split(""" my_list = Split("""
dface.h
input.cpp input.cpp
input.h
keyscan.h
main.cpp main.cpp
main.h
sdl.cpp sdl.cpp
sdl.h
sdl-icon.h
sdl-joystick.cpp sdl-joystick.cpp
sdl-sound.cpp sdl-sound.cpp
sdl-throttle.cpp sdl-throttle.cpp
sdl-video.cpp sdl-video.cpp
sdl-video.h
throttle.h
unix-netplay.cpp unix-netplay.cpp
unix-netplay.h
usage.h
""") """)
# XXX need to deal with opengl configuration and testing at some point # XXX need to deal with opengl configuration and testing at some point

View File

@ -1,11 +1,5 @@
Import('file_list') Import('file_list')
my_list = Split(""" my_list = Split("""
c44100ntsc.h
c44100pal.h
c48000ntsc.h
c48000pal.h
c96000ntsc.h
c96000pal.h
""") """)
for x in range(len(my_list)): for x in range(len(my_list)):
my_list[x] = 'fir/' + my_list[x] my_list[x] = 'fir/' + my_list[x]

View File

@ -4,7 +4,6 @@ arkanoid.cpp
bworld.cpp bworld.cpp
cursor.cpp cursor.cpp
fkb.cpp fkb.cpp
fkb.h
ftrainer.cpp ftrainer.cpp
hypershot.cpp hypershot.cpp
mahjong.cpp mahjong.cpp
@ -13,9 +12,7 @@ oekakids.cpp
powerpad.cpp powerpad.cpp
quiz.cpp quiz.cpp
shadow.cpp shadow.cpp
share.h
suborkb.cpp suborkb.cpp
suborkb.h
toprider.cpp toprider.cpp
zapper.cpp zapper.cpp
""") """)

View File

@ -74,12 +74,8 @@ __226.cpp
97.cpp 97.cpp
99.cpp 99.cpp
emu2413.c emu2413.c
emu2413.h
emutypes.h
mapinc.h
mmc2and4.cpp mmc2and4.cpp
simple.cpp simple.cpp
vrc7tone.h
""") """)
for x in range(len(my_list)): for x in range(len(my_list)):
my_list[x] = 'mappers/' + my_list[x] my_list[x] = 'mappers/' + my_list[x]

View File

@ -1,11 +1,6 @@
Import('file_list') Import('file_list')
my_list = Split(""" my_list = Split("""
conv.c conv.c
palettes.h
rp2c04001.h
rp2c04002.h
rp2c04003.h
rp2c05004.h
""") """)
for x in range(len(my_list)): for x in range(len(my_list)):
my_list[x] = 'palettes/' + my_list[x] my_list[x] = 'palettes/' + my_list[x]