Changeset 839 for Daodan/makefile
- Timestamp:
- Apr 29, 2013, 9:08:16 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/makefile
r838 r839 17 17 OUT = build/binkw32.dll 18 18 19 SRC = src/Daodan.c src/Daodan_BSL.c src/Daodan_Character.c src/Daodan_Cheater.c src/Daodan_Config.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/Inifile_Reader.c src/_DLLInfo.rc 19 FOLDERS = patches 20 SRC = src/Daodan.c src/Daodan_BSL.c src/Daodan_Character.c src/Daodan_Cheater.c src/Daodan_Config.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/Inifile_Reader.c src/_DLLInfo.rc src/patches/Patches.c 20 21 DEST = $(patsubst src/%.rc,build/%.o,$(patsubst src/%.c,build/%.o,$(SRC))) 21 22 22 ALL: $( DEST) $(OBJS)23 @echo "Linking $<"23 ALL: $(FOLDERS) $(DEST) $(OBJS) 24 @echo "Linking" 24 25 $(LOCALE) $(GCC) $(LINKFLAGS) -o $(OUT) $(DEST) $(OBJS) $(LIBS) 25 26 26 27 clean: 27 28 rm $(DEST) 29 rm -R $(FOLDERS) 28 30 rm $(OUT) 31 32 $(FOLDERS): 33 mkdir -p build/$@ 29 34 30 35 build/%.o: src/%.c
Note:
See TracChangeset
for help on using the changeset viewer.