mirror of
https://gitlab.com/jessieh/qrprinter.git
synced 2024-12-22 01:41:46 +00:00
Move Fennel binary
This commit is contained in:
parent
189573147d
commit
c1272d8626
8
Makefile
8
Makefile
@ -4,7 +4,7 @@
|
||||
SRC_DIR = src
|
||||
BUILD_DIR = build
|
||||
|
||||
FENNEL = ./fennel-0.10.0-x86_64
|
||||
FENNEL = ./bin/fennel-0.10.0-x86_64
|
||||
|
||||
fnl_files := $(shell find $(SRC_DIR)/ -type f -name '*.fnl')
|
||||
lua_files := $(patsubst $(SRC_DIR)/%.fnl, $(BUILD_DIR)/%.lua, $(fnl_files))
|
||||
@ -13,12 +13,12 @@ lua_files := $(patsubst $(SRC_DIR)/%.fnl, $(BUILD_DIR)/%.lua, $(fnl_files))
|
||||
|
||||
all: $(lua_files)
|
||||
|
||||
install:
|
||||
@echo "Leaving installation up to luarocks..."
|
||||
|
||||
$(BUILD_DIR)/%.lua: $(SRC_DIR)/%.fnl
|
||||
mkdir -p "$(@D)"
|
||||
$(FENNEL) --compile $< > $@
|
||||
|
||||
install:
|
||||
@echo "Leaving installation up to luarocks..."
|
||||
|
||||
clean:
|
||||
rm -rf $(BUILD_DIR)
|
||||
|
Loading…
Reference in New Issue
Block a user