-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (19 loc) · 804 Bytes
/
Makefile
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
CC=g++
FLAGS=-std=c++11
all: ./build/genreg ./build/binconv ./build/QMcC
./build/binconv: ./binconv/binconv.cpp
$(CC) $(FLAGS) -o ./build/binconv ./binconv/binconv.cpp
./build/genreg: ./genreg/genreg.cpp
$(CC) $(FLAGS) -o ./build/genreg ./genreg/genreg.cpp
./build/QMcC: ./QMcC/QMcC.cpp
$(CC) $(FLAGS) -o ./build/QMcC ./QMcC/QMcC.cpp
debug: ./debug/genreg ./debug/binconv ./debug/QMcC
./debug/binconv: ./binconv/binconv.cpp
$(CC) $(FLAGS) -ggdb -o ./debug/binconv ./binconv/binconv.cpp
./debug/genreg: ./genreg/genreg.cpp
$(CC) $(FLAGS) -ggdb -o ./debug/genreg ./genreg/genreg.cpp
./debug/QMcC: ./QMcC/QMcC.cpp
$(CC) $(FLAGS) -ggdb -o ./debug/QMcC ./QMcC/QMcC.cpp
clean: ./build/genreg ./build/binconv ./build/QMcC
rm ./build/genreg ./build/binconv ./build/QMcC
.PHONY:all, clean, debug