blob: ed1ecc8f28af752a77b3f61c907976d6ebfa1b90 (
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} ${LDFLAGS} ${CFLAGS} -o $@ ${OBJECTS} ${LDLIBS}
deps.mk: ${TARGETS}
${CC} -MM ${TARGETS} > $@
include deps.mk
clean:
rm -f feh *.o
.PHONY: clean
|