aboutsummaryrefslogtreecommitdiff
path: root/src/depend.mk
blob: 5b2da6d28cc448bf86a3378af1cbcde6496bf8d3 (plain)
1
2
3
4
5
6
7
8
9
10
# This only works for make implementations that always include a .depend if
# it exists. Only GNU make does not do this.

.depend: ${SCRIPTS} ${SRCS}
	$(CC) $(CFLAGS) -MM ${SRCS} > .depend

depend: .depend

clean-depend:
	rm -f .depend