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

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