2010-05-23 04:55:16 +04:00
|
|
|
PROGS = $(TARG:=.out)
|
2007-03-26 08:48:00 +04:00
|
|
|
|
2008-01-18 01:50:35 +03:00
|
|
|
all: $(OFILES) $(PROGS)
|
2007-03-26 08:48:00 +04:00
|
|
|
|
2010-05-23 04:55:16 +04:00
|
|
|
install: $(TARG:=.install)
|
|
|
|
uninstall: $(TARG:=.uninstall)
|
|
|
|
depend: $(OFILES:.o=.depend) $(TARG:=.depend)
|
2007-03-26 08:48:00 +04:00
|
|
|
clean: manyclean
|
|
|
|
|
|
|
|
printinstall:
|
|
|
|
echo 'Install directories:'
|
2008-01-18 01:50:35 +03:00
|
|
|
echo ' Bin: $(BIN)'
|
2007-03-26 08:48:00 +04:00
|
|
|
|
|
|
|
manyclean:
|
2010-05-23 04:55:16 +04:00
|
|
|
for i in $(TARG:=.o) $(TARG:=.out) $(OFILES); do \
|
2008-01-29 01:58:23 +03:00
|
|
|
[ -e $$i ] && \
|
2008-01-27 05:13:42 +03:00
|
|
|
echo CLEAN $$($(CLEANNAME) $(BASE)$$i); \
|
2007-04-19 22:53:07 +04:00
|
|
|
rm -f $$i; \
|
2007-03-26 08:48:00 +04:00
|
|
|
done 2>/dev/null || true
|
|
|
|
|