The [un]install make goals have a rather fixed meaning for *ix users. The simple
symlinks provided here don't match the expectations users have from [un]install.
Therefore it is appropriate to rename them to "something" not tied to specific
expectations.
@$(MAKE) -C src --no-print-directory $@
@$(MAKE) -C libsrc --no-print-directory $@
@$(MAKE) -C src --no-print-directory $@
@$(MAKE) -C libsrc --no-print-directory $@
@$(MAKE) -C src --no-print-directory $@
lib:
@$(MAKE) -C src --no-print-directory $@
lib:
%:
@$(MAKE) -C libsrc --no-print-directory $@
%:
@$(MAKE) -C libsrc --no-print-directory $@
-.PHONY: all mostlyclean clean install uninstall bin lib
+.PHONY: all mostlyclean clean avail unavail bin lib
-.PHONY: all bin $(PROGS) mostlyclean clean install uninstall
+.PHONY: all bin $(PROGS) mostlyclean clean avail unavail
clean:
$(RM) -r ../wrk ../bin
clean:
$(RM) -r ../wrk ../bin
-install: all
- $(foreach prog,$(PROGS),$(INSTALL_recipe))
+avail: all
+ $(foreach prog,$(PROGS),$(AVAIL_recipe))
-uninstall:
- $(foreach prog,$(PROGS),$(UNINSTALL_recipe))
+unavail:
+ $(foreach prog,$(PROGS),$(UNAVAIL_recipe))
ln -s $(abspath ../bin/$(prog)) /usr/local/bin/$(prog)
ln -s $(abspath ../bin/$(prog)) /usr/local/bin/$(prog)
$(RM) /usr/local/bin/$(prog)
$(RM) /usr/local/bin/$(prog)