daily pastebin goal
81%
SHARE
TWEET

TDM-GCC-64 4.8.1 Windows 32-bit Makefile

Phr0zen_Penguin Dec 25th, 2013 139 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Project: Time
  2. # Makefile created by Phr0z3n.Dev
  3. # Source file: myTimeDate.c (http://pastebin.com/tYGpTAsi)
  4.  
  5. CPP      = g++.exe
  6. CC       = gcc.exe
  7. WINDRES  = windres.exe
  8. RES      = Time_private.res
  9. OBJ      = ../myTimeDate.o $(RES)
  10. LINKOBJ  = -m32 ../myTimeDate.o $(RES)
  11. LIBS     = -L"E:/Dev/TDM-GCC-64/lib32" -L"E:/Dev/TDM-GCC-64/x86_64-w64-mingw32/lib32" -mwindows -m32 -static-libgcc
  12. INCS     = -I"E:/Dev/TDM-GCC-64/include" -I"E:/Dev/TDM-GCC-64/x86_64-w64-mingw32/include" -I"E:/Dev/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/4.8.1/include"
  13. CXXINCS  = -I"E:/Dev/TDM-GCC-64/include" -I"E:/Dev/TDM-GCC-64/x86_64-w64-mingw32/include" -I"E:/Dev/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/4.8.1/include"
  14. BIN      = Time.exe
  15. CXXFLAGS = $(CXXINCS) -m32
  16. CFLAGS   = $(INCS) -m32
  17. RM       = rm -f
  18.  
  19. .PHONY: all all-before all-after clean clean-custom
  20.  
  21. all: all-before $(BIN) all-after
  22.  
  23. clean: clean-custom
  24.         ${RM} $(OBJ) $(BIN)
  25.  
  26. $(BIN): $(OBJ)
  27.         $(CC) $(LINKOBJ) -o $(BIN) $(LIBS)
  28.  
  29. ../myTimeDate.o: ../myTimeDate.c
  30.         $(CC) -c ../myTimeDate.c -o ../myTimeDate.o $(CFLAGS)
  31.  
  32. Time_private.res: Time_private.rc
  33.         $(WINDRES) -i Time_private.rc -F pe-i386 --input-format=rc -o Time_private.res -O coff  --include-dir E:/Dev/TDM-GCC-64/include --include-dir E:/Dev/TDM-GCC-64/x86_64-w64-mingw32/include --include-dir E:/Dev/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/4.8.1/include
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top