make, scripts: Add lots of "all" targets

This commit is contained in:
Jan Lindemann 2002-01-17 21:58:12 +00:00 committed by Jan Lindemann
commit 61e77a5686
5 changed files with 12 additions and 4 deletions

View file

@ -8,3 +8,4 @@ ALL = $(LIBDIR) $(PREREQ_DONE) $(INST_HDRS)
include $(MODDIR)/make/rules.mk
clean: objclean textclean localclean
install: $(ALL)
all:

View file

@ -3,7 +3,9 @@
# contact@jannet.de
# $Id$
all.done: $(PREREQ_DONE) $(ALL)
all: $(ALL)
all.done: $(PREREQ_DONE) all
touch $@
%.done:
@ -48,13 +50,13 @@ checkroot:
echo " b) the Makefile variable CHECK_ROOT does not contain \"true\" as value." ;\
fi
installexe: $(ALL) checkroot $(PREFIX)/bin
installexe: all checkroot $(PREFIX)/bin
$(INSTALL) $(EXE) $(PREFIX)/bin/
installso: $(ALL) checkroot $(PREFIX)/lib
installso: all checkroot $(PREFIX)/lib
$(INSTALL) $(SHOBJS) $(PREFIX)/lib/
installsh: $(ALL) checkroot $(PREFIX)/bin
installsh: all checkroot $(PREFIX)/bin
$(INSTALL) $(SHSCRIPTS) $(PREFIX)/bin/
pckgclean:

View file

@ -7,3 +7,4 @@ include $(MODDIR)/make/defs.mk
include $(MODDIR)/make/rules.mk
clean: textclean localclean
install: # nothing to be done
all: # nothing to be done

View file

@ -8,3 +8,4 @@ ALL = $(LIBDIR) $(PREREQ_DONE) $(INST_HDRS) $(MEMBERS)
include $(MODDIR)/make/rules.mk
clean: objclean textclean localclean
install: $(ALL)
all: $(ALL)

View file

@ -32,6 +32,8 @@
EXEDIR = $(HOME)/bin
CONFDIR = $(HOME)/.jannet
all:
$(EXEDIR):
mkdir -p $@
@ -44,3 +46,4 @@ install: $(EXEDIR) $(CONFDIR)
clean distclean libclean:
rm -rf *~ .*.swp core