mirror of
https://github.com/0intro/wmii
synced 2024-11-29 00:53:09 +03:00
21 lines
402 B
Makefile
21 lines
402 B
Makefile
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); \
|
|
rm -f $$i; \
|
|
done 2>/dev/null || true
|
|
|