mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 00:09:31 +02:00
* don't override pasext if set
This commit is contained in:
parent
05bca62add
commit
347a146da3
@ -621,17 +621,18 @@ LIBPREFIX=
|
||||
endif
|
||||
|
||||
# determine which .pas extension is used
|
||||
ifndef PASEXT
|
||||
ifdef EXEOBJECTS
|
||||
override TESTPAS:=$(strip $(wildcard $(addsuffix .pas,$(firstword $(EXEOBJECTS)))))
|
||||
else
|
||||
override TESTPAS:=$(strip $(wildcard $(addsuffix .pas,$(firstword $(UNITOBJECTS)))))
|
||||
endif
|
||||
|
||||
ifeq ($(TESTPAS),)
|
||||
PASEXT=.pp
|
||||
else
|
||||
PASEXT=.pas
|
||||
endif
|
||||
endif
|
||||
|
||||
# also call ppas if with command option -s
|
||||
ifeq (,$(findstring -s ,$(COMPILER)))
|
||||
@ -961,7 +962,10 @@ endif
|
||||
|
||||
#
|
||||
# $Log$
|
||||
# Revision 1.12 1999-03-29 16:04:58 peter
|
||||
# Revision 1.13 1999-04-01 22:52:28 peter
|
||||
# * don't override pasext if set
|
||||
#
|
||||
# Revision 1.12 1999/03/29 16:04:58 peter
|
||||
# * place -T as the first parameter on the commandline so a OPT=-A can
|
||||
# overwrite it
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user