libixp

git clone git://oldgit.suckless.org/libixp/
Log | Files | Refs | LICENSE

many.mk (402B)


      1 PROGS = $(TARG:=.out)
      2 
      3 all: $(OFILES) $(PROGS)
      4 
      5 install: $(TARG:=.install)
      6 uninstall: $(TARG:=.uninstall)
      7 depend: $(OFILES:.o=.depend) $(TARG:=.depend)
      8 clean: manyclean
      9 
     10 printinstall:
     11 	echo 'Install directories:'
     12 	echo '	Bin: $(BIN)'
     13 
     14 manyclean:
     15 	for i in $(TARG:=.o) $(TARG:=.out) $(OFILES); do \
     16 		[ -e $$i ] && \
     17 		echo CLEAN $$($(CLEANNAME) $(BASE)$$i); \
     18 		rm -f $$i; \
     19 	done 2>/dev/null || true
     20