mirror of
https://github.com/moparisthebest/Simba
synced 2025-01-11 05:38:00 -05:00
Add Makefiles by moparisthebest
This commit is contained in:
parent
d3d34d383a
commit
1d6aa46735
35
Projects/Simba/Makefile.i386-linux
Normal file
35
Projects/Simba/Makefile.i386-linux
Normal file
@ -0,0 +1,35 @@
|
||||
#$ fpc -MObjFPC -Scgi -O2 -OoREGVAR -gl -vewnhi -l -Fu../../Units/MMLCore/ -Fu../../Units/MMLAddon/ -Fu../../Units/PascalScript/ -Fu../../Units/Misc/ -Fu../../../lazarus/components/synedit/units/x86_64-linux/ -Fu../../../lazarus/ideintf/units/x86_64-linux/ -Fu../../../lazarus/lcl/units/x86_64-linux/ -Fu../../../lazarus/lcl/units/x86_64-linux/gtk2/ -Fu../../../lazarus/packager/units/x86_64-linux/ -Fu. -oSAMufasaGUI -dUseCThreads -dM_MEMORY_DEBUG -dLCL -dLCLgtk2 Simba.lpr
|
||||
|
||||
.PHONY: default clean
|
||||
|
||||
#Set these ----------
|
||||
platform := i386-linux
|
||||
widgetset := gtk2
|
||||
#lazaruspath := /usr/lib/lazarus/0.9.28.2
|
||||
lazaruspath := /home/mopar/simba/lazarus
|
||||
|
||||
#-dUseCThreads on linux, none on windows. :)
|
||||
platformdefines := -dUseCThreads
|
||||
#End set there -------
|
||||
|
||||
CC := fpc
|
||||
build := $(CC)
|
||||
binary := Simba.$(platform)
|
||||
flags := -Pi386 -Xd -MObjFPC -Scgi -O2 -OoREGVAR -gl -vewnhi -l -Fu.
|
||||
defines := $(platformdefines) -dM_MEMORY_DEBUG -dLCL -dLCL$(widgetset)
|
||||
units := -Fu../../Units/MMLCore/ -Fu../../Units/MMLAddon/ -Fu../../Units/MMLAddon/PSInc/ -Fu../../Units/PascalScript/ -Fu../../Units/Misc/ -Fu../../Units/Linux/ -Fu../../Units/Synapse/ -Fu../../Units/RUTIS/
|
||||
|
||||
|
||||
|
||||
lclplatpath := $(lazaruspath)/lcl/units/$(platform)/
|
||||
|
||||
lazarusunits := -Fu$(lazaruspath)/components/synedit/units/$(platform)/ -Fu$(lazaruspath)ideintf/units/$(platform)/ -Fu$(lclplatpath) -Fu$(lclplatpath)$(widgetset)/ -Fu$(lazaruspath)/packager/units/$(platform)/ -Fu$(lazaruspath)/components/mouseandkeyinput/
|
||||
|
||||
default: $(binary)
|
||||
|
||||
clean:
|
||||
rm -f *.o *.ppu $(binary)
|
||||
|
||||
$(binary):
|
||||
$(CC) $(flags) $(units) $(lazarusunits) -o$(binary) $(defines) Simba.lpr
|
||||
strip $(binary)
|
@ -5,26 +5,27 @@
|
||||
#Set these ----------
|
||||
platform := i386-win32
|
||||
widgetset := win32
|
||||
lazaruspath := "C:\path\to\lazarus"
|
||||
#lazaruspath := /usr/lib/lazarus/0.9.28.2
|
||||
lazaruspath := /home/mopar/simba/lazarus
|
||||
|
||||
CC := fpc
|
||||
build := $(CC)
|
||||
binary := SAMufasaGUI
|
||||
flags := -MObjFPC -Scgi -O2 -OoREGVAR -gl -vewnhi -l -Fu.
|
||||
binary := Simba.$(platform).exe
|
||||
flags := -Twin32 -Pi386 -MObjFPC -Scgi -O2 -OoREGVAR -gl -vewnhi -l -Fu.
|
||||
defines := $(platformdefines) -dM_MEMORY_DEBUG -dLCL -dLCL$(widgetset)
|
||||
units := -Fu../../Units/MMLCore/ -Fu../../Units/MMLAddon/ -Fu../../Units/PascalScript/ -Fu../../Units/Misc/
|
||||
units := -Fu../../Units/MMLCore/ -Fu../../Units/MMLAddon/ -Fu../../Units/MMLAddon/PSInc/ -Fu../../Units/PascalScript/ -Fu../../Units/Misc/ -Fu../../Units/Linux/ -Fu../../Units/Synapse/ -Fu../../Units/RUTIS/
|
||||
|
||||
|
||||
|
||||
lclplatpath := $(lazaruspath)/lcl/units/$(platform)/
|
||||
|
||||
lazarusunits := -Fu$(lazaruspath)/components/synedit/units/$(platform)/ -Fu$(lazaruspath)ideintf/units/$(platform)/ -Fu$(lclplatpath) -Fu$(lclplatpath)$(widgetset)/ -Fu$(lazaruspath)/packager/units/$(platform)/
|
||||
lazarusunits := -Fu$(lazaruspath)/components/synedit/units/$(platform)/ -Fu$(lazaruspath)ideintf/units/$(platform)/ -Fu$(lclplatpath) -Fu$(lclplatpath)$(widgetset)/ -Fu$(lazaruspath)/packager/units/$(platform)/ -Fu$(lazaruspath)/components/mouseandkeyinput/
|
||||
|
||||
default: $(binary)
|
||||
|
||||
clean:
|
||||
#Zoek zelf ff uit
|
||||
del $(binary)
|
||||
rm -f *.o *.ppu $(binary)
|
||||
|
||||
$(binary):
|
||||
$(CC) $(flags) $(units) $(lazarusunits) -o$(binary) $(defines) Simba.lpr
|
||||
$(CC) $(flags) $(units) $(lazarusunits) -o$(binary) $(defines) Simba.lpr
|
||||
strip $(binary)
|
31
Projects/Simba/Makefile.win64
Normal file
31
Projects/Simba/Makefile.win64
Normal file
@ -0,0 +1,31 @@
|
||||
#$ fpc -MObjFPC -Scgi -O2 -OoREGVAR -gl -vewnhi -l -Fu../../Units/MMLCore/ -Fu../../Units/MMLAddon/ -Fu../../Units/PascalScript/ -Fu../../Units/Misc/ -Fu../../../lazarus/components/synedit/units/x86_64-linux/ -Fu../../../lazarus/ideintf/units/x86_64-linux/ -Fu../../../lazarus/lcl/units/x86_64-linux/ -Fu../../../lazarus/lcl/units/x86_64-linux/gtk2/ -Fu../../../lazarus/packager/units/x86_64-linux/ -Fu. -oSAMufasaGUI -dUseCThreads -dM_MEMORY_DEBUG -dLCL -dLCLgtk2 Simba.lpr
|
||||
|
||||
.PHONY: default clean
|
||||
|
||||
#Set these ----------
|
||||
platform := x86_64-win64
|
||||
widgetset := win32
|
||||
#lazaruspath := /usr/lib/lazarus/0.9.28.2
|
||||
lazaruspath := /home/mopar/simba/lazarus
|
||||
|
||||
CC := fpc
|
||||
build := $(CC)
|
||||
binary := Simba.$(platform).exe
|
||||
flags := -Twin64 -Px86_64 -MObjFPC -Scgi -O2 -OoREGVAR -gl -vewnhi -l -Fu.
|
||||
defines := $(platformdefines) -dM_MEMORY_DEBUG -dLCL -dLCL$(widgetset)
|
||||
units := -Fu../../Units/MMLCore/ -Fu../../Units/MMLAddon/ -Fu../../Units/MMLAddon/PSInc/ -Fu../../Units/PascalScript/ -Fu../../Units/Misc/ -Fu../../Units/Linux/ -Fu../../Units/Synapse/ -Fu../../Units/RUTIS/
|
||||
|
||||
|
||||
|
||||
lclplatpath := $(lazaruspath)/lcl/units/$(platform)/
|
||||
|
||||
lazarusunits := -Fu$(lazaruspath)/components/synedit/units/$(platform)/ -Fu$(lazaruspath)ideintf/units/$(platform)/ -Fu$(lclplatpath) -Fu$(lclplatpath)$(widgetset)/ -Fu$(lazaruspath)/packager/units/$(platform)/ -Fu$(lazaruspath)/components/mouseandkeyinput/
|
||||
|
||||
default: $(binary)
|
||||
|
||||
clean:
|
||||
rm -f *.o *.ppu $(binary)
|
||||
|
||||
$(binary):
|
||||
$(CC) $(flags) $(units) $(lazarusunits) -o$(binary) $(defines) Simba.lpr
|
||||
strip $(binary)
|
@ -5,7 +5,8 @@
|
||||
#Set these ----------
|
||||
platform := x86_64-linux
|
||||
widgetset := gtk2
|
||||
lazaruspath := /home/merlijn/Programs/lazarus
|
||||
#lazaruspath := /usr/lib/lazarus/0.9.28.2
|
||||
lazaruspath := /home/mopar/simba/lazarus
|
||||
|
||||
#-dUseCThreads on linux, none on windows. :)
|
||||
platformdefines := -dUseCThreads
|
||||
@ -13,16 +14,16 @@ platformdefines := -dUseCThreads
|
||||
|
||||
CC := fpc
|
||||
build := $(CC)
|
||||
binary := SAMufasaGUI
|
||||
flags := -MObjFPC -Scgi -O2 -OoREGVAR -gl -vewnhi -l -Fu.
|
||||
binary := Simba.$(platform)
|
||||
flags := -Px86_64 -MObjFPC -Scgi -O2 -OoREGVAR -gl -vewnhi -l -Fu.
|
||||
defines := $(platformdefines) -dM_MEMORY_DEBUG -dLCL -dLCL$(widgetset)
|
||||
units := -Fu../../Units/MMLCore/ -Fu../../Units/MMLAddon/ -Fu../../Units/PascalScript/ -Fu../../Units/Misc/
|
||||
units := -Fu../../Units/MMLCore/ -Fu../../Units/MMLAddon/ -Fu../../Units/MMLAddon/PSInc/ -Fu../../Units/PascalScript/ -Fu../../Units/Misc/ -Fu../../Units/Linux/ -Fu../../Units/Synapse/ -Fu../../Units/RUTIS/
|
||||
|
||||
|
||||
|
||||
lclplatpath := $(lazaruspath)/lcl/units/$(platform)/
|
||||
|
||||
lazarusunits := -Fu$(lazaruspath)/components/synedit/units/$(platform)/ -Fu$(lazaruspath)ideintf/units/$(platform)/ -Fu$(lclplatpath) -Fu$(lclplatpath)$(widgetset)/ -Fu$(lazaruspath)/packager/units/$(platform)/
|
||||
lazarusunits := -Fu$(lazaruspath)/components/synedit/units/$(platform)/ -Fu$(lazaruspath)ideintf/units/$(platform)/ -Fu$(lclplatpath) -Fu$(lclplatpath)$(widgetset)/ -Fu$(lazaruspath)/packager/units/$(platform)/ -Fu$(lazaruspath)/components/mouseandkeyinput/
|
||||
|
||||
default: $(binary)
|
||||
|
||||
@ -30,6 +31,6 @@ clean:
|
||||
rm -f *.o *.ppu $(binary)
|
||||
|
||||
$(binary):
|
||||
$(CC) $(flags) $(units) $(lazarusunits) -o$(binary) $(defines) Simba.lpr
|
||||
|
||||
-Fu/usr/local/share/lazarus/ideintf/units/x86_64-linux/
|
||||
$(CC) $(flags) $(units) $(lazarusunits) -o$(binary) $(defines) Simba.lpr
|
||||
strip $(binary)
|
||||
|
Loading…
Reference in New Issue
Block a user