Changeset 685 for Daodan/makefile
- Timestamp:
- Mar 3, 2013, 8:55:03 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/makefile
r684 r685 2 2 ifeq ("Linux","$(UNAME)") 3 3 GCC := i686-w64-mingw32-gcc 4 DLLTOOL := i686-w64-mingw32-dlltool4 WINDRES := i686-w64-mingw32-windres 5 5 else 6 6 GCC := gcc 7 DLLTOOL := dlltool7 WINDRES := windres 8 8 endif 9 9 10 10 GCCFLAGS = -O0 -Wall -fomit-frame-pointer -fpack-struct 11 LINKFLAGS = -O0 -Wall -fomit-frame-pointer -fpack-struct -s -mdll -mthread -Xlinker --major-image-version -Xlinker 111 LINKFLAGS = -O0 -Wall -fomit-frame-pointer -fpack-struct -s -mdll -mthread 12 12 13 13 #LIBS = -lwinmm -lopengl32 -lgdi32 … … 16 16 OUT = build/binkw32.dll 17 17 18 SRC = src/Daodan.c src/Daodan_BSL.c src/Daodan_Character.c src/Daodan_Cheater.c src/Daodan_Console.c src/Daodan_DLLStubs.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 19 DEST = $(patsubst src/%. c,build/%.o,$(SRC))18 SRC = src/Daodan.c src/Daodan_BSL.c src/Daodan_Character.c src/Daodan_Cheater.c src/Daodan_Console.c src/Daodan_DLLStubs.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.rc 19 DEST = $(patsubst src/%.rc,build/%.o,$(patsubst src/%.c,build/%.o,$(SRC))) 20 20 21 21 ALL: $(DEST) $(OBJS) … … 32 32 echo 33 33 34 build/%.o: src/%.rc 35 echo "Assembling resource $<" 36 $(WINDRES) -i $< -o $@ 37
Note:
See TracChangeset
for help on using the changeset viewer.