mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:19:24 +02:00
* fixes
This commit is contained in:
parent
42640d2b3f
commit
8cac3cdb88
@ -1336,7 +1336,7 @@ endif
|
||||
|
||||
ifdef TARGET_EXAMPLES
|
||||
HASEXAMPLES=1
|
||||
override EXAMPLESOURCEFILES:=$(wildcard $(addsuffix .pp,$(TARGET_EXAMPLES)) $(addsuffix .pas,$(TARGET_EXAMPLES)))
|
||||
override EXAMPLESOURCEFILES:=$(wildcard $(addsuffix .pp,$(TARGET_EXAMPLES)) $(addsuffix .pas,$(TARGET_EXAMPLES)) $(addsuffix .dpr,$(TARGET_EXAMPLES)))
|
||||
override EXAMPLEFILES:=$(addsuffix $(EXEEXT),$(TARGET_EXAMPLES))
|
||||
override EXAMPLEOFILES:=$(addsuffix $(OEXT),$(TARGET_EXAMPLES)) $(addprefix $(STATICLIBPREFIX),$(addsuffix $(STATICLIBEXT),$(TARGET_EXAMPLES)))
|
||||
|
||||
@ -1378,7 +1378,7 @@ fpc_release:
|
||||
|
||||
# General compile rules, available for both possible .pp and .pas extensions
|
||||
|
||||
.SUFFIXES: $(EXEEXT) $(PPUEXT) $(OEXT) .pas .pp .rc .res
|
||||
.SUFFIXES: $(EXEEXT) $(PPUEXT) $(OEXT) .pas .dpr .pp .rc .res
|
||||
|
||||
%$(PPUEXT): %.pp
|
||||
$(COMPILER) $<
|
||||
@ -1396,15 +1396,19 @@ fpc_release:
|
||||
$(COMPILER) $<
|
||||
$(EXECPPAS)
|
||||
|
||||
%$(EXEEXT): %.dpr
|
||||
$(COMPILER) $<
|
||||
$(EXECPPAS)
|
||||
|
||||
%.res: %.rc
|
||||
windres -i $< -o $@
|
||||
|
||||
# Search paths for .ppu and .pp and .pas
|
||||
# Search paths for .ppu and .pp and .pas .dpr
|
||||
vpath %.pp $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
|
||||
vpath %.pas $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
|
||||
vpath %.dpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
|
||||
vpath %$(PPUEXT) $(COMPILER_UNITTARGETDIR)
|
||||
|
||||
|
||||
[libraryrules]
|
||||
#####################################################################
|
||||
# Library
|
||||
|
Loading…
Reference in New Issue
Block a user