jw-pkg/make/targets-tools.mk

29 lines
536 B
Makefile
Raw Normal View History

# generic utility modules
# (c) 2001 jannet it services
# contact@jannet.de
# $Id$
include $(MODDIR)/make/rules.mk
# mandatory targets
all: all.link
clean: objclean textclean localclean profclean clean.link
install: $(ALL)
# convenience targets
link: all.link
clean-link: clean.link
# rules
all.link: $(PROJECT)
clean.link:
if [ -L $(PROJECT) -a "`readlink $(PROJECT)`" = . ]; then rm $(PROJECT); fi
$(PROJECT):
ln -s . $@
$(LIB_SO): $(OBJ)
all.done: $(PREREQ_DONE) $(BUILD_HDR) $(BUILD_EXE_SH) $(MEMBERS) $(LIB_A) $(LIB_SO)