SEsource/三子棋/Makefile.win

33 lines
1.6 KiB
Makefile

# Project: Èý×ÓÆå
# Makefile created by Dev-C++ 6.7.5
CPP = g++.exe -D__DEBUG__
CC = gcc.exe -D__DEBUG__
WINDRES = windres.exe
OBJ = test.o game.o
LINKOBJ = test.o game.o
LIBS = -L"d:/files/software/dev-cpp/mingw32/lib/gcc/mingw32/9.2.0/" -L"d:/files/software/dev-cpp/mingw32/lib/gcc/" -L"d:/files/software/dev-cpp/mingw32/mingw32/lib/" -L"d:/files/software/dev-cpp/mingw32/lib/" -L"D:/files/software/Dev-Cpp/MinGW32/lib" -L"D:/files/software/Dev-Cpp/MinGW32/mingw32/lib" -g3 -static
INCS = -I"d:/files/software/dev-cpp/mingw32/lib/gcc/mingw32/9.2.0/include" -I"d:/files/software/dev-cpp/mingw32/include" -I"d:/files/software/dev-cpp/mingw32/lib/gcc/mingw32/9.2.0/include-fixed"
CXXINCS = -I"d:/files/software/dev-cpp/mingw32/lib/gcc/mingw32/9.2.0/include/c++" -I"d:/files/software/dev-cpp/mingw32/lib/gcc/mingw32/9.2.0/include/c++/mingw32" -I"d:/files/software/dev-cpp/mingw32/lib/gcc/mingw32/9.2.0/include/c++/backward" -I"d:/files/software/dev-cpp/mingw32/lib/gcc/mingw32/9.2.0/include" -I"d:/files/software/dev-cpp/mingw32/include" -I"d:/files/software/dev-cpp/mingw32/lib/gcc/mingw32/9.2.0/include-fixed"
BIN = Èý×ÓÆå.exe
CXXFLAGS = $(CXXINCS) -Wall -Wextra -g3
ENCODINGS = -finput-charset=utf-8 -fexec-charset=gbk
CFLAGS = $(INCS) -Wall -Wextra -g3
RM = del /q /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)
test.o: test.c game.h
$(CC) -c test.c -o test.o $(CFLAGS)
game.o: game.c game.h
$(CC) -c game.c -o game.o $(CFLAGS)