summaryrefslogtreecommitdiff
path: root/makefile
blob: 05247f8d37a2894edea4446fa995e1fff91a1158 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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:
	mkdir -p $@

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