mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 12:29:27 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			64 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
#   File generated automatically by Lazarus Package Manager
 | 
						|
#
 | 
						|
#   Makefile.fpc for CodeTools 1.0.1
 | 
						|
#
 | 
						|
#   This file was generated on 1-10-15
 | 
						|
 | 
						|
[package]
 | 
						|
name=codetools
 | 
						|
version=1.0.1
 | 
						|
 | 
						|
[compiler]
 | 
						|
unittargetdir=units/$(CPU_TARGET)-$(OS_TARGET)
 | 
						|
unitdir=../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) .
 | 
						|
options= -MObjFPC -Sci -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS)
 | 
						|
 | 
						|
[target]
 | 
						|
units=codetools.pas
 | 
						|
 | 
						|
[clean]
 | 
						|
files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \
 | 
						|
      $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \
 | 
						|
      $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \
 | 
						|
      $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) \
 | 
						|
      $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) \
 | 
						|
      $(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
 | 
						|
ifeq ($(OS_TARGET),darwin)
 | 
						|
LCL_PLATFORM=carbon
 | 
						|
else
 | 
						|
LCL_PLATFORM=gtk2
 | 
						|
endif
 | 
						|
endif
 | 
						|
endif
 | 
						|
endif
 | 
						|
export LCL_PLATFORM
 | 
						|
 | 
						|
DBG_OPTIONS=
 | 
						|
ifeq ($(OS_TARGET),darwin)
 | 
						|
DBG_OPTIONS=-gw
 | 
						|
endif
 | 
						|
 | 
						|
[rules]
 | 
						|
.PHONY: cleartarget compiled all
 | 
						|
 | 
						|
cleartarget:
 | 
						|
        -$(DEL) $(COMPILER_UNITTARGETDIR)/codetools$(PPUEXT)
 | 
						|
 | 
						|
compiled:
 | 
						|
        $(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/CodeTools.compiled
 | 
						|
 | 
						|
all: cleartarget $(COMPILER_UNITTARGETDIR) codetools$(PPUEXT) compiled
 | 
						|
 | 
						|
distclean: clean
 | 
						|
        ${DELTREE} units/*
 |