summaryrefslogtreecommitdiff
path: root/makefile
blob: 2a45609b869d041f362f46c8a38210e2f30d1ee4 (plain)
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
CFLAGS=-Wall -O2

all: bin \
	bin/1a bin/1b \
	bin/2a bin/2b \
	bin/3a bin/3b \
	bin/4a bin/4b \
	bin/5 \
	bin/6 \
	bin/7 \
	bin/8 \
	bin/9 \
	bin/10 \
	bin/11 \
	bin/12 \
	bin/13 \
	bin/14 \
	bin/15 \
	bin/16 \
	bin/17 \
	bin/18 \

bin:
	mkdir -p $@

bin/%: %.c
	$(CC) $(CFLAGS) -o $@ $<