wmii/mk/many.mk

21 lines
402 B
Makefile
Raw Permalink Normal View History

PROGS = $(TARG:=.out)
all: $(OFILES) $(PROGS)
install: $(TARG:=.install)
uninstall: $(TARG:=.uninstall)
depend: $(OFILES:.o=.depend) $(TARG:=.depend)
clean: manyclean
printinstall:
echo 'Install directories:'
echo ' Bin: $(BIN)'
manyclean:
for i in $(TARG:=.o) $(TARG:=.out) $(OFILES); do \
[ -e $$i ] && \
echo CLEAN $$($(CLEANNAME) $(BASE)$$i); \
2007-04-19 22:53:07 +04:00
rm -f $$i; \
done 2>/dev/null || true