Changeset 688 for Daodan/makefile
- Timestamp:
- Mar 4, 2013, 3:21:23 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/makefile
r687 r688 8 8 endif 9 9 10 GCCFLAGS = - O0 -Wall -fomit-frame-pointer -fpack-struct10 GCCFLAGS = -std=c99 -O0 -Wall -fomit-frame-pointer -fpack-struct -pedantic -Wextra -Wno-unused-variable 11 11 LINKFLAGS = -O0 -Wall -fomit-frame-pointer -fpack-struct -s -mdll 12 LOCALE = LC_MESSAGES=C 12 13 13 14 #LIBS = -lwinmm -lopengl32 -lgdi32 … … 16 17 OUT = build/binkw32.dll 17 18 18 SRC = src/Daodan.c src/Daodan_BSL.c src/Daodan_Character.c src/Daodan_Cheater.c src/Daodan_Console.c src/daodan_gl.c src/Daodan_Patch.c src/Daodan_Persistence.c src/Daodan_Utility.c src/Daodan_Win32.c src/Daodan_WindowHack.c src/inifile_reader.c src/ Oni_Symbols.c src/_DLLInfo.rc19 SRC = src/Daodan.c src/Daodan_BSL.c src/Daodan_Character.c src/Daodan_Cheater.c src/Daodan_Console.c src/daodan_gl.c src/Daodan_Patch.c src/Daodan_Persistence.c src/Daodan_Utility.c src/Daodan_Win32.c src/Daodan_WindowHack.c src/inifile_reader.c src/_DLLInfo.rc 19 20 DEST = $(patsubst src/%.rc,build/%.o,$(patsubst src/%.c,build/%.o,$(SRC))) 20 21 21 22 ALL: $(DEST) $(OBJS) 22 23 echo "Linking $<" 23 $( GCC) $(LINKFLAGS) -o $(OUT) $(DEST) $(OBJS) $(LIBS)24 $(LOCALE) $(GCC) $(LINKFLAGS) -o $(OUT) $(DEST) $(OBJS) $(LIBS) 24 25 25 26 clean: … … 29 30 build/%.o: src/%.c 30 31 echo "Compiling $<" 31 $( GCC) $(GCCFLAGS) -c -o $@ $<32 $(LOCALE) $(GCC) $(GCCFLAGS) -c -o $@ $< 32 33 echo 33 34 … … 35 36 echo "Assembling resource $<" 36 37 $(WINDRES) -i $< -o $@ 38 echo 37 39
Note:
See TracChangeset
for help on using the changeset viewer.