Debian Codegraph @

makefile

raw symbols SCIP
1 #################################
2 # HAM Makefile
3 #################################
4
5 include $(HAMDIR)/system/master.mak
6
7 #
8 # Set the name of your desired GBA image name here
9 #
10 PROGNAME = powder
11
12 #
13 # Set a list of files you want to compile
14 # Please keep these alphabetical.
15 #
16 OFILES += action.o \
17 ai.o \
18 artifact.o \
19 assert.o \
20 buf.o \
21 build.o \
22 control.o \
23 creature.o \
24 credits.o \
25 dpdf_table.o \
26 encyclopedia.o \
27 encyc_support.o \
28 gfxengine.o \
29 glbdef.o \
30 grammar.o \
31 hiscore.o \
32 input.o \
33 intrinsic.o \
34 item.o \
35 license.o \
36 main.o \
37 map.o \
38 mobref.o \
39 msg.o \
40 name.o \
41 piety.o \
42 rand.o \
43 signpost.o \
44 smokestack.o \
45 speed.o \
46 sramstream.o \
47 stylus.o \
48 victory.o \
49 gfx/all_bitmaps.o \
50 rooms/allrooms.o
51
52 ######################################
53 # Standard Makefile targets start here
54 ######################################
55
56 all : premake $(PROGNAME).$(EXT) postmake
57
58 premake:
59 ${HOME}/bin/enummaker source.txt
60 ${HOME}/bin/txt2c LICENSE.TXT license.cpp
61 ${HOME}/bin/txt2c CREDITS.TXT credits.cpp
62 ${HOME}/bin/encyclopedia2c encyclopedia.txt
63
64 postmake: powder.gba
65 ${HOME}/bin/gbafix powder.gba -tPOWDER`cat VERSION.TXT`
66
67
68 #
69 # Most Makefile targets are predefined for you, suchas
70 # vba, clean ... in the following file
71 #
72 include $(HAMDIR)/system/standard-targets.mak
73
74 ######################################
75 # custom Makefile targets start here
76 ######################################
77
78
79 gfx:
80 cd gfx
81 gfx2gba -t8 -m -fsrc *.bmp
82
83 clean:
84 rm -f *.o *.i *.ii *.s
85 rm -f gfx/*.o
86 rm -f rooms/*.o
87 rm -f glbdef.cpp glbdef.h
88 rm -f license.cpp
89 rm -f credits.cpp
90 rm -f encyclopedia.cpp
91 rm -f encyclopedia.h