summaryrefslogtreecommitdiff
path: root/makefile
blob: 45e52990e6a7ac487c3a04f6b84fcc9050cb792f (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
29
30
31
32
33
34
35
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/19 \
	bin/20 \
	bin/21 \
	bin/22 \
	bin/23 \
	bin/24 \
	bin/25 \

bin:
	mkdir -p $@

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