Advertisement
Guest User

Untitled

a guest
Sep 28th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 1.12 KB | None | 0 0
  1. # Project: ZOS
  2. # Makefile created by Dev-C++ 5.11
  3.  
  4. CPP      = g++.exe
  5. CC       = gcc.exe
  6. WINDRES  = windres.exe
  7. OBJ      = main.o
  8. LINKOBJ  = main.o
  9. LIBS     = -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib" -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib" -static-libgcc
  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++"
  12. BIN      = ZOS.exe
  13. CXXFLAGS = $(CXXINCS)
  14. CFLAGS   = $(INCS)
  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.     $(CC) $(LINKOBJ) -o $(BIN) $(LIBS)
  26.  
  27. main.o: main.c
  28.     $(CC) -c main.c -o main.o $(CFLAGS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement