mirror of
https://github.com/0intro/wmii
synced 2024-11-22 22:02:30 +03:00
21 lines
398 B
Makefile
21 lines
398 B
Makefile
PROGS = ${TARG:=.O}
|
|
|
|
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:=.O} $(OFILES); do \
|
|
[ -e $$i ] && \
|
|
echo CLEAN $$($(CLEANNAME) $(BASE)$$i); \
|
|
rm -f $$i; \
|
|
done 2>/dev/null || true
|
|
|