Makefile.win
上传用户:jnfxsk
上传日期:2022-06-16
资源大小:3675k
文件大小:4k
源码类别:

游戏引擎

开发平台:

Visual C++

  1. # Project: hge
  2. # Makefile created by Dev-C++ 4.9.9.2
  3. CPP  = g++.exe
  4. CC   = gcc.exe
  5. WINDRES = windres.exe
  6. RES  = 
  7. OBJ  = gccRelease/timer.o gccRelease/graphics.o gccRelease/ini.o gccRelease/input.o gccRelease/random.o gccRelease/resource.o gccRelease/sound.o gccRelease/system.o gccRelease/demo.o gccRelease/crc32.o gccRelease/inffast.o gccRelease/inflate.o gccRelease/inftrees.o gccRelease/ioapi.o gccRelease/trees.o gccRelease/uncompr.o gccRelease/unzip.o gccRelease/zutil.o gccRelease/adler32.o $(RES)
  8. LINKOBJ  = gccRelease/timer.o gccRelease/graphics.o gccRelease/ini.o gccRelease/input.o gccRelease/random.o gccRelease/resource.o gccRelease/sound.o gccRelease/system.o gccRelease/demo.o gccRelease/crc32.o gccRelease/inffast.o gccRelease/inflate.o gccRelease/inftrees.o gccRelease/ioapi.o gccRelease/trees.o gccRelease/uncompr.o gccRelease/unzip.o gccRelease/zutil.o gccRelease/adler32.o $(RES)
  9. LIBS =  -L"C:/Dev-Cpp/lib" --no-export-all-symbols --add-stdcall-alias --def hge.def -luser32 -lgdi32 -ladvapi32 -lshell32 -lwinmm -ld3d8 -ld3dx8  
  10. INCS =  -I"C:/Dev-Cpp/include" 
  11. CXXINCS =  -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include" 
  12. BIN  = gccRelease/hge.dll
  13. CXXFLAGS = $(CXXINCS) -DBUILDING_DLL=1 -D_USRDLL -DHGEDLL   -fexpensive-optimizations -O3
  14. CFLAGS = $(INCS) -DBUILDING_DLL=1 -D_USRDLL -DHGEDLL   -fexpensive-optimizations -O3
  15. RM = rm -f
  16. .PHONY: all all-before all-after clean clean-custom
  17. all: all-before gccRelease/hge.dll all-after
  18. clean: clean-custom
  19. ${RM} $(OBJ) $(BIN)
  20. DLLWRAP=dllwrap.exe
  21. DEFFILE=gccRelease/libhge.def
  22. STATICLIB=gccRelease/libhge.a
  23. $(BIN): $(LINKOBJ)
  24. $(DLLWRAP) --output-def $(DEFFILE) --driver-name c++ --implib $(STATICLIB) $(LINKOBJ) $(LIBS) -o $(BIN)
  25. gccRelease/timer.o: timer.cpp
  26. $(CPP) -c timer.cpp -o gccRelease/timer.o $(CXXFLAGS)
  27. gccRelease/graphics.o: graphics.cpp
  28. $(CPP) -c graphics.cpp -o gccRelease/graphics.o $(CXXFLAGS)
  29. gccRelease/ini.o: ini.cpp
  30. $(CPP) -c ini.cpp -o gccRelease/ini.o $(CXXFLAGS)
  31. gccRelease/input.o: input.cpp
  32. $(CPP) -c input.cpp -o gccRelease/input.o $(CXXFLAGS)
  33. gccRelease/random.o: random.cpp
  34. $(CPP) -c random.cpp -o gccRelease/random.o $(CXXFLAGS)
  35. gccRelease/resource.o: resource.cpp
  36. $(CPP) -c resource.cpp -o gccRelease/resource.o $(CXXFLAGS)
  37. gccRelease/sound.o: sound.cpp
  38. $(CPP) -c sound.cpp -o gccRelease/sound.o $(CXXFLAGS)
  39. gccRelease/system.o: system.cpp
  40. $(CPP) -c system.cpp -o gccRelease/system.o $(CXXFLAGS)
  41. gccRelease/demo.o: demo.cpp
  42. $(CPP) -c demo.cpp -o gccRelease/demo.o $(CXXFLAGS)
  43. gccRelease/crc32.o: ZLIB/crc32.c
  44. $(CC) -c ZLIB/crc32.c -o gccRelease/crc32.o $(CFLAGS)
  45. gccRelease/inffast.o: ZLIB/inffast.c
  46. $(CC) -c ZLIB/inffast.c -o gccRelease/inffast.o $(CFLAGS)
  47. gccRelease/inflate.o: ZLIB/inflate.c
  48. $(CC) -c ZLIB/inflate.c -o gccRelease/inflate.o $(CFLAGS)
  49. gccRelease/inftrees.o: ZLIB/inftrees.c
  50. $(CC) -c ZLIB/inftrees.c -o gccRelease/inftrees.o $(CFLAGS)
  51. gccRelease/ioapi.o: ZLIB/ioapi.c
  52. $(CC) -c ZLIB/ioapi.c -o gccRelease/ioapi.o $(CFLAGS)
  53. gccRelease/trees.o: ZLIB/trees.c
  54. $(CC) -c ZLIB/trees.c -o gccRelease/trees.o $(CFLAGS)
  55. gccRelease/uncompr.o: ZLIB/uncompr.c
  56. $(CC) -c ZLIB/uncompr.c -o gccRelease/uncompr.o $(CFLAGS)
  57. gccRelease/unzip.o: ZLIB/unzip.c
  58. $(CC) -c ZLIB/unzip.c -o gccRelease/unzip.o $(CFLAGS)
  59. gccRelease/zutil.o: ZLIB/zutil.c
  60. $(CC) -c ZLIB/zutil.c -o gccRelease/zutil.o $(CFLAGS)
  61. gccRelease/adler32.o: ZLIB/adler32.c
  62. $(CC) -c ZLIB/adler32.c -o gccRelease/adler32.o $(CFLAGS)