mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 08:29:29 +02:00
+ DEFAULTUNITS to have a make all only compile the units
This commit is contained in:
parent
d04f52d903
commit
f1cb31bcf8
@ -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
|
||||
#
|
||||
#
|
||||
|
@ -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:
|
||||
---------
|
||||
|
@ -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
|
||||
#
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user