Publish VCC Plus OSS source distribution for 3.6.2 build 60
This commit is contained in:
commit
c652a5276d
1192 files changed
+272368
No files matched your search
@@ -0,0 +1,43 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# Acceptance fixture only. Python 3 is an explicit custom-recipe dependency.
|
||||
CMOC ?= cmoc
|
||||
PERL ?= perl
|
||||
PYTHON ?= python3
|
||||
WRITECOCOFILE ?= writecocofile
|
||||
VCC_CONFIGURATION ?= Release
|
||||
LIMIT := 7800
|
||||
CFLAGS :=
|
||||
ifeq ($(VCC_CONFIGURATION),CustomGIME)
|
||||
CFLAGS += -DCUSTOM_GIME=1
|
||||
endif
|
||||
ifeq ($(VCC_CONFIGURATION),Fail)
|
||||
LIMIT := 2801
|
||||
endif
|
||||
|
||||
.PHONY: all build disk clean
|
||||
all: disk
|
||||
build: disk
|
||||
disk: fixture.debug.json
|
||||
|
||||
# Always relink so switching Release/Fail cannot reuse an earlier binary.
|
||||
.PHONY: force
|
||||
obj/main.o: main.c Makefile force
|
||||
@mkdir -p obj
|
||||
"$(CMOC)" --coco -O2 --intermediate $(CFLAGS) --intdir=obj -c -o $@ $<
|
||||
|
||||
FIXTURE.BIN: obj/main.o Makefile force
|
||||
ifeq ($(VCC_CONFIGURATION),Fail)
|
||||
@printf 'main.c:1: warning: authored warning before intentional linker-limit failure\n'
|
||||
endif
|
||||
"$(CMOC)" --coco -O2 --intermediate --org=2800 --limit=$(LIMIT) --stack-space=2048 -o $@ obj/main.o -lgime
|
||||
|
||||
FIXTURE.dsk: FIXTURE.BIN Makefile
|
||||
$(PERL) -e 'print chr(255) x (35*18*256)' > $@
|
||||
$(WRITECOCOFILE) $@ FIXTURE.BIN
|
||||
|
||||
fixture.debug.json: FIXTURE.dsk export_debug.py main.c
|
||||
$(PYTHON) export_debug.py $(VCC_CONFIGURATION)
|
||||
|
||||
clean:
|
||||
rm -rf obj
|
||||
rm -f FIXTURE.BIN FIXTURE.map FIXTURE.link FIXTURE.dsk fixture.debug.json
|
||||
Reference in new issue
Block a user