+ DEFAULTUNITS to have a make all only compile the units

This commit is contained in:
peter 1998-12-12 19:14:42 +00:00
parent d04f52d903
commit f1cb31bcf8
3 changed files with 16 additions and 20 deletions

View File

@ -33,6 +33,10 @@ UNITDIR=
TARGETDIR=
UNITTARGETDIR=
# As default make only the units
#DEFAULTUNITS=1
#####################################################################
# Real targets
#####################################################################
@ -40,22 +44,22 @@ UNITTARGETDIR=
UNITOBJECTS=
EXEOBJECTS=
#####################################################################
# Include default makefile
#####################################################################
include $(MAKEFILEFPC)
#####################################################################
# Dependencies
#####################################################################
#
# $Log$
# Revision 1.2 1998-11-10 17:56:51 peter
# * fixes to build correct again
#
# Revision 1.1 1998/10/27 14:20:12 peter
# + initial versions
# Revision 1.3 1998-12-12 19:14:42 peter
# + DEFAULTUNITS to have a make all only compile the units
#
#

View File

@ -51,6 +51,9 @@ LIBTYPE can be set to shared or static to set the library type you
and turns it off.
Example: LIBTYPE=shared LIBNAME=objpas
DEFAULTUNITS if this is set then a 'make all' will only compile the units
and not the exes
Location:
---------

View File

@ -534,7 +534,11 @@ UNITOFILES=$(addsuffix $(OEXT),$(UNITOBJECTS))
.SUFFIXES : $(EXEEXT) $(PPUEXT) $(PASEXT)
ifdef DEFAULTUNITS
all: units
else
all: units exes
endif
units: $(UNITFILES)
@ -657,18 +661,3 @@ ifdef ASFILES
@echo As files are $(ASFILES)
endif
#
# $Log$
# Revision 1.4 1998-11-10 17:56:53 peter
# * fixes to build correct again
#
# Revision 1.3 1998/11/10 15:06:25 peter
# + PREFIXINSTALLDIR to allow /usr/local and pwd/debian/tmp
#
# Revision 1.2 1998/10/28 00:14:13 peter
# * argh.. ifndef winnt -> ifdef winnt :(
#
# Revision 1.1 1998/10/27 14:23:59 peter
# + makefiles
#
#