Verified Commit c65381bf authored by Camil Staps's avatar Camil Staps 🚀

Add optimise_win.prj to build the optimiser on windows

parent 7ea36faf
*.o
*.a
*.o
*.exe
a.out
*.abc
*.prp
*.tcl
a.out
*.opt.abc
*.obc
......
SHELL:=bash
CLM:=clm
CPM:=cpm
CLMFLAGS:=-IL Platform -nr -nt
override CFLAGS+=\
-std=c99\
......@@ -31,8 +32,13 @@ $(PATCHED): %: $(CLEAN_HOME)/lib/GraphCopy/% %.patch
cp $< $@
patch < $@.patch
ifeq ($(OS),Windows_NT)
optimise: .FORCE
$(CPM) project $@_win.prj build
else
optimise: .FORCE
$(CLM) $(CLMFLAGS) ABC.Optimise -o $@
endif
SRC_BCGEN:=\
abc_instructions.c\
......
Version: 1.4
Global
ProjectRoot: .
Target: StdEnv
Exec: {Project}\optimise.exe
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 209715200
StackSize: 512000
ExtraMemory: 8192
IntialHeapSize: 204800
HeapSizeMultiplier: 4096
ShowExecutionTime: False
ShowGC: False
ShowStackSize: False
MarkingCollector: False
DisableRTSFlags: True
StandardRuntimeEnv: True
Profile
Memory: False
MemoryMinimumHeapSize: 0
Time: False
Stack: False
Dynamics: False
GenericFusion: False
DescExL: False
Output
Output: NoConsole
Font: Monaco
FontSize: 9
WriteStdErr: False
Link
LinkMethod: Static
GenerateRelocations: False
GenerateSymbolTable: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
GenerateDLL: False
ExportedNames:
Paths
Path: {Project}
Path: {Application}*Libraries*StdEnv
Path: {Application}*Libraries*Platform
Precompile:
Postlink:
MainModule
Name: ABC.Optimise
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReuseUniqueNodes: True
Fusion: False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment