mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-13 23:22:32 +02:00
59 lines
1.6 KiB
Makefile
59 lines
1.6 KiB
Makefile
# $Id: Makefile.fpc 58118 2018-06-04 09:14:21Z mattias $
|
|
#
|
|
# Makefile.fpc for Lazarus for Free Pascal
|
|
#
|
|
|
|
[target]
|
|
dirs=
|
|
|
|
[clean]
|
|
files=$(wildcard ./units/*$(OEXT)) \
|
|
$(wildcard ./units/*$(PPUEXT)) \
|
|
$(wildcard ./units/*$(RSTEXT)) \
|
|
$(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(OEXT)) \
|
|
$(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(PPUEXT)) \
|
|
$(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(RSTEXT)) \
|
|
$(wildcard ./custom/*$(OEXT)) \
|
|
$(wildcard ./custom/*$(PPUEXT)) \
|
|
$(wildcard ./custom/*$(RSTEXT))
|
|
|
|
[rules]
|
|
.PHONY: help clean cleanall base bigide all
|
|
|
|
#-----------------------------------------------------------------------------
|
|
help:
|
|
@$(ECHO)
|
|
@$(ECHO) " Targets"
|
|
@$(ECHO) " all same as base + bigide"
|
|
@$(ECHO) " clean deletes output files of base and bigide components"
|
|
@$(ECHO) " base build cmdlinedebuggerbase"
|
|
@$(ECHO) " bigide build the extra packages for the bigide"
|
|
@$(ECHO) " requires base"
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# build base packages
|
|
base:
|
|
$(MAKE) -C cmdlinedebuggerbase
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# build the extra packages needed by the bigide
|
|
bigide:
|
|
$(MAKE) -C cmdlinedebuggerbase
|
|
$(MAKE) -C lazdebuggerlldb
|
|
$(MAKE) -C lazdebuggerfplldb
|
|
|
|
all: base bigide
|
|
|
|
clean:
|
|
$(MAKE) -C cmdlinedebuggerbase clean
|
|
$(MAKE) -C lazdebuggerlldb clean
|
|
$(MAKE) -C lazdebuggerfplldb clean
|
|
|
|
cleanall: clean
|
|
|
|
distclean:
|
|
$(MAKE) -C cmdlinedebuggerbase distclean
|
|
$(MAKE) -C lazdebuggerlldb distclean
|
|
$(MAKE) -C lazdebuggerfplldb distclean
|
|
|