Advertisement
Guest User

makefile.win

a guest
Jun 15th, 2015
419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. # Project: Game
  2. # Makefile created by Dev-C++ 5.11
  3.  
  4. CPP = g++.exe -D__DEBUG__
  5. CC = gcc.exe -D__DEBUG__
  6. WINDRES = windres.exe
  7. OBJ = main.o
  8. LINKOBJ = main.o
  9. LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib32" -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32" -static-libgcc -mwindows -lmingw32 -lSDLmain -lSDL -m32 -g3
  10. INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include"
  11. CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++" -I"C:/SDL2/include"
  12. BIN = Game.exe
  13. CXXFLAGS = $(CXXINCS) -m32 -g3
  14. CFLAGS = $(INCS) -m32 -g3 -Dmain=SDL_main
  15. RM = rm.exe -f
  16.  
  17. .PHONY: all all-before all-after clean clean-custom
  18.  
  19. all: all-before $(BIN) all-after
  20.  
  21. clean: clean-custom
  22. ${RM} $(OBJ) $(BIN)
  23.  
  24. $(BIN): $(OBJ)
  25. $(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)
  26.  
  27. main.o: main.c
  28. $(CPP) -c main.c -o main.o $(CXXFLAGS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement