32 lines
1.2 KiB
Makefile
32 lines
1.2 KiB
Makefile
|
# Project: <20><>Ŀ2
|
|||
|
# Makefile created by Dev-C++ 5.11
|
|||
|
|
|||
|
CPP = g++.exe
|
|||
|
CC = gcc.exe
|
|||
|
WINDRES = windres.exe
|
|||
|
OBJ = main.o Command.o
|
|||
|
LINKOBJ = main.o Command.o
|
|||
|
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
|
|||
|
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"
|
|||
|
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++"
|
|||
|
BIN = <20><>Ŀ2.exe
|
|||
|
CXXFLAGS = $(CXXINCS)
|
|||
|
CFLAGS = $(INCS)
|
|||
|
RM = rm.exe -f
|
|||
|
|
|||
|
.PHONY: all all-before all-after clean clean-custom
|
|||
|
|
|||
|
all: all-before $(BIN) all-after
|
|||
|
|
|||
|
clean: clean-custom
|
|||
|
${RM} $(OBJ) $(BIN)
|
|||
|
|
|||
|
$(BIN): $(OBJ)
|
|||
|
$(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)
|
|||
|
|
|||
|
main.o: main.cpp
|
|||
|
$(CPP) -c main.cpp -o main.o $(CXXFLAGS)
|
|||
|
|
|||
|
Command.o: Command.cpp
|
|||
|
$(CPP) -c Command.cpp -o Command.o $(CXXFLAGS)
|