-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.win
34 lines (26 loc) · 996 Bytes
/
Makefile.win
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Project: Case010
# Makefile created by Dev-C++ 5.11
CPP = g++.exe -D__DEBUG__
CC = gcc.exe -D__DEBUG__
WINDRES = windres.exe
OBJ = Matroid.o DinamicArray.o main.o
LINKOBJ = Matroid.o DinamicArray.o main.o
LIBS = -L"C:/cygwin64/lib" -static-libstdc++ -static-libgcc -g3
INCS = -I"C:/cygwin64/lib/gcc/x86_64-pc-cygwin/7.4.0/include"
CXXINCS = -I"C:/cygwin64/lib/gcc/x86_64-pc-cygwin/7.4.0/include" -I"C:/cygwin64/lib/gcc/x86_64-pc-cygwin/7.4.0/include/c++"
BIN = Case010.exe
CXXFLAGS = $(CXXINCS) -g3
CFLAGS = $(INCS) -g3
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)
Matroid.o: Matroid.c
$(CC) -c Matroid.c -o Matroid.o $(CFLAGS)
DinamicArray.o: DinamicArray.c
$(CC) -c DinamicArray.c -o DinamicArray.o $(CFLAGS)
main.o: main.c
$(CC) -c main.c -o main.o $(CFLAGS)