home *** CD-ROM | disk | FTP | other *** search
/ Game Programming - All in One (3rd Edition) / game_prog_all_in_one_3rd_ed.iso / sources / chapter10 / AngularMotion / Makefile.win < prev    next >
Encoding:
Makefile  |  2006-09-14  |  1.0 KB  |  37 lines

  1. # Project: AngularMotion
  2. # Makefile created by Dev-C++ 4.9.9.2
  3.  
  4. CPP  = g++.exe
  5. CC   = gcc.exe
  6. WINDRES = windres.exe
  7. RES  = 
  8. OBJ  = sprite.o spritehandler.o main.o $(RES)
  9. LINKOBJ  = sprite.o spritehandler.o main.o $(RES)
  10. LIBS =  -L"C:/Dev-Cpp/lib" -mwindows -lalleg  
  11. INCS =  -I"C:/Dev-Cpp/include" 
  12. 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" 
  13. BIN  = AngularMotion.exe
  14. CXXFLAGS = $(CXXINCS)   -O3
  15. CFLAGS = $(INCS)   -O3
  16. RM = rm -f
  17.  
  18. .PHONY: all all-before all-after clean clean-custom
  19.  
  20. all: all-before AngularMotion.exe all-after
  21.  
  22.  
  23. clean: clean-custom
  24.     ${RM} $(OBJ) $(BIN)
  25.  
  26. $(BIN): $(OBJ)
  27.     $(CPP) $(LINKOBJ) -o "AngularMotion.exe" $(LIBS)
  28.  
  29. sprite.o: sprite.cpp
  30.     $(CPP) -c sprite.cpp -o sprite.o $(CXXFLAGS)
  31.  
  32. spritehandler.o: spritehandler.cpp
  33.     $(CPP) -c spritehandler.cpp -o spritehandler.o $(CXXFLAGS)
  34.  
  35. main.o: main.cpp
  36.     $(CPP) -c main.cpp -o main.o $(CXXFLAGS)
  37.