projects
/
midifile
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit
[midifile]
/
Makefile
1
src = $(wildcard src/*.c) test.c
2
obj = $(src:.c=.o)
3
dep = $(obj:.o=.d)
4
bin = test
5
6
CFLAGS = -pedantic -Wall -g -Isrc -MMD
7
8
$(bin): $(obj)
9
$(CC) -o $@ $(obj) $(LDFLAGS)
10
11
-include $(dep)
12
13
.PHONY: clean
14
clean:
15
rm -f $(obj) $(bin)
16
17
.PHONY: cleandep
18
cleandep:
19
rm -f $(dep)