Converted local project to demo structure.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -8s

This commit is contained in:
Willem Cazander 2024-06-30 02:42:42 +02:00
parent fd67884bee
commit 56e74ee085
21 changed files with 257 additions and 249 deletions

25
src/dist/0module.mk vendored Normal file
View file

@ -0,0 +1,25 @@
DIST_MOD := dist
DIST_SRC := src/$(DIST_MOD)
DIST_BIN := $(PATH_BIN)/$(DIST_MOD)
DIST_OUT := $(PATH_BIN)/$(DIST_MOD).tar.gz
DIST_DEPS := $(DIST_BIN)/readme.txt $(DIST_BIN)/ahello1.com $(DIST_BIN)/ahello2.com
BUILD_HELP += \\n\\t* $(DIST_OUT)\\n\\t* dist-prepare
$(DIST_BIN):
$(call mb_mkdir,$(DIST_BIN))
$(DIST_BIN)/readme.txt: $(DIST_SRC)/readme.txt | $(DIST_BIN)
$(call mb_unix2dos,$<,$@)
$(DIST_BIN)/ahello1.com: bin/ahello-m80/ahello.com | $(DIST_BIN)
$(call mb_copy,$<,$@)
$(DIST_BIN)/ahello2.com: bin/ahello-sdcc/ahello.com | $(DIST_BIN)
$(call mb_copy,$<,$@)
.PHONY: dist-prepare
dist-prepare: | $(DIST_DEPS)
$(DIST_OUT): | dist-prepare
$(call mb_create_dist,$(DIST_OUT),$(DIST_BIN))

2
src/dist/readme.txt vendored Normal file
View file

@ -0,0 +1,2 @@
Test readme