-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
31 lines (21 loc) · 723 Bytes
/
makefile
File metadata and controls
31 lines (21 loc) · 723 Bytes
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
all: time brainfuck golden-section rand-string unicode hex-color cube-scrambling
clean:
if [ -e bin ]; then rm bin -rf; fi
bin:
mkdir bin
schulte-grid: bin schulte-grid.c
gcc -o bin/schulte-grid schulte-grid.c -Wall
unicode: bin unicode.c
gcc -o bin/unicode unicode.c
hex-color: bin hex-color.cpp
g++ -o bin/hex-color hex-color.cpp
cube-scrambling: bin cube-scrambling.cpp
g++ -o bin/cube-scrambling cube-scrambling.cpp
time: bin time.cpp
g++ -o bin/time time.cpp -lncurses -fopenmp
brainfuck: bin brainfuck.cpp
g++ -o bin/brainfuck brainfuck.cpp
golden-section: bin golden-section.cpp
g++ -o bin/golden-section golden-section.cpp
rand-string: bin rand-string.cpp
g++ -o bin/rand-string rand-string.cpp