blob: a5ea9b0f9f048eb5a8f0ed37af9806fb6f2633e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
include ../config.mk
TARGETS = ${shell echo *.c}
OBJECTS = ${TARGETS:.c=.o}
feh: deps.mk ${OBJECTS}
${CC} ${CFLAGS} -o $@ ${OBJECTS} ${LDFLAGS}
deps.mk: ${TARGETS}
${CC} -MM ${TARGETS} > $@
include deps.mk
clean:
rm -f feh *.o
.PHONY: clean
|