You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.6 KiB

6 years ago
# Project: Сѧ<D0A1><D1A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
# Makefile created by Dev-C++ 5.11
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
OBJ = main.o test.o record.o load.o ../pupil_test/save.o setting.o
LINKOBJ = main.o test.o record.o load.o ../pupil_test/save.o setting.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 = Сѧ<D0A1><D1A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.exe
CXXFLAGS = $(CXXINCS) -std=c99
CFLAGS = $(INCS) -std=c99
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)
$(CC) $(LINKOBJ) -o $(BIN) $(LIBS)
main.o: main.c
$(CC) -c main.c -o main.o $(CFLAGS)
test.o: test.c
$(CC) -c test.c -o test.o $(CFLAGS)
record.o: record.c
$(CC) -c record.c -o record.o $(CFLAGS)
load.o: load.c
$(CC) -c load.c -o load.o $(CFLAGS)
../pupil_test/save.o: ../pupil_test/save.c
$(CC) -c ../pupil_test/save.c -o ../pupil_test/save.o $(CFLAGS)
setting.o: setting.c
$(CC) -c setting.c -o setting.o $(CFLAGS)