Added basic build system
This commit is contained in:
parent
11eef7bd83
commit
b3f6e6d954
8 changed files with 596 additions and 31 deletions
33
src/dist/0module.mk
vendored
Normal file
33
src/dist/0module.mk
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
|
||||
DIST_NAME := dist
|
||||
DIST_SRC := $(PATH_SRC)/$(DIST_NAME)
|
||||
DIST_BIN := $(PATH_BIN)/$(DIST_NAME)
|
||||
DIST_OUT := $(PATH_BIN)/$(DIST_NAME).tar.gz
|
||||
DIST_INC := ALL.SR8 ASCII.SR8 readme.txt VELD.SR8 VELDBACK.4BP
|
||||
DIST_INC_BIN := $(patsubst %,$(DIST_BIN)/%,$(DIST_INC))
|
||||
DIST_INC_SRC := $(patsubst %,$(DIST_SRC)/%,$(DIST_INC))
|
||||
DIST_TARA_BIN := $(DIST_BIN)/tara.com
|
||||
DIST_TARA_SRC := $(PATH_BIN)/tara/tara.com
|
||||
|
||||
$(DIST_BIN):
|
||||
$(call mod_mkdir,$(DIST_BIN))
|
||||
|
||||
$(DIST_BIN)/ALL.SR8: $(DIST_SRC)/ALL.SR8 | $(DIST_BIN)
|
||||
cp $< $@;
|
||||
$(DIST_BIN)/ASCII.SR8: $(DIST_SRC)/ASCII.SR8 | $(DIST_BIN)
|
||||
cp $< $@;
|
||||
$(DIST_BIN)/VELD.SR8: $(DIST_SRC)/VELD.SR8 | $(DIST_BIN)
|
||||
cp $< $@;
|
||||
$(DIST_BIN)/VELDBACK.4BP: $(DIST_SRC)/VELDBACK.4BP | $(DIST_BIN)
|
||||
cp $< $@;
|
||||
$(DIST_BIN)/readme.txt: $(DIST_SRC)/readme.txt | $(DIST_BIN)
|
||||
cp $< $@;
|
||||
|
||||
#$(DIST_INC_BIN): $(DIST_INC_SRC) | $(DIST_BIN)
|
||||
# cp $< $@;
|
||||
|
||||
$(DIST_TARA_BIN): $(DIST_TARA_SRC) | $(DIST_BIN)
|
||||
cp $< $@;
|
||||
|
||||
$(DIST_OUT): $(DIST_INC_BIN) $(DIST_TARA_BIN)
|
||||
cd $(DIST_BIN) && tar -czvf ../../$(DIST_OUT) *;
|
||||
Loading…
Add table
Add a link
Reference in a new issue