Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Project: Time
- # Makefile created by Phr0z3n.Dev
- # Source file: myTimeDate.c (http://pastebin.com/tYGpTAsi)
- CPP = g++.exe
- CC = gcc.exe
- WINDRES = windres.exe
- RES = Time_private.res
- OBJ = ../myTimeDate.o $(RES)
- LINKOBJ = -m32 ../myTimeDate.o $(RES)
- LIBS = -L"E:/Dev/TDM-GCC-64/lib32" -L"E:/Dev/TDM-GCC-64/x86_64-w64-mingw32/lib32" -mwindows -m32 -static-libgcc
- 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"
- 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"
- BIN = Time.exe
- CXXFLAGS = $(CXXINCS) -m32
- CFLAGS = $(INCS) -m32
- RM = rm -f
- .PHONY: all all-before all-after clean clean-custom
- all: all-before $(BIN) all-after
- clean: clean-custom
- ${RM} $(OBJ) $(BIN)
- $(BIN): $(OBJ)
- $(CC) $(LINKOBJ) -o $(BIN) $(LIBS)
- ../myTimeDate.o: ../myTimeDate.c
- $(CC) -c ../myTimeDate.c -o ../myTimeDate.o $(CFLAGS)
- Time_private.res: Time_private.rc
- $(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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement