mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 02:40:00 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
#   Makefile.fpc for ProjTemplates 1.0
 | 
						|
 | 
						|
[package]
 | 
						|
name=projtemplates
 | 
						|
version=1.0
 | 
						|
 | 
						|
[compiler]
 | 
						|
unittargetdir=lib/$(CPU_TARGET)-$(OS_TARGET)
 | 
						|
unitdir=../../ideintf/units/$(CPU_TARGET)-$(OS_TARGET)/ ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/ ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ ../../packager/units/$(CPU_TARGET)-$(OS_TARGET)/ ./
 | 
						|
includedir=./
 | 
						|
options=-dLCL -dLCL$(LCL_PLATFORM) -S2 -gl
 | 
						|
 | 
						|
[target]
 | 
						|
units=projtemplates.pas
 | 
						|
 | 
						|
[clean]
 | 
						|
files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \
 | 
						|
      $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \
 | 
						|
      $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \
 | 
						|
      $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) \
 | 
						|
      $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
 | 
						|
[prerules]
 | 
						|
# LCL Platform
 | 
						|
ifndef LCL_PLATFORM
 | 
						|
ifeq ($(OS_TARGET),win32)
 | 
						|
LCL_PLATFORM=win32
 | 
						|
else
 | 
						|
ifeq ($(OS_TARGET),win64)
 | 
						|
LCL_PLATFORM=win32
 | 
						|
else
 | 
						|
LCL_PLATFORM=gtk
 | 
						|
endif
 | 
						|
endif
 | 
						|
endif
 | 
						|
export LCL_PLATFORM
 | 
						|
 | 
						|
[rules]
 | 
						|
.PHONY: cleartarget all
 | 
						|
 | 
						|
cleartarget:
 | 
						|
        -$(DEL) $(COMPILER_UNITTARGETDIR)/projtemplates$(PPUEXT)
 | 
						|
 | 
						|
all: cleartarget $(COMPILER_UNITTARGETDIR) projtemplates$(PPUEXT)
 |