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

View File

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

View File

@ -534,7 +534,11 @@ UNITOFILES=$(addsuffix $(OEXT),$(UNITOBJECTS))
.SUFFIXES : $(EXEEXT) $(PPUEXT) $(PASEXT) .SUFFIXES : $(EXEEXT) $(PPUEXT) $(PASEXT)
ifdef DEFAULTUNITS
all: units
else
all: units exes all: units exes
endif
units: $(UNITFILES) units: $(UNITFILES)
@ -657,18 +661,3 @@ ifdef ASFILES
@echo As files are $(ASFILES) @echo As files are $(ASFILES)
endif 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
#
#