changes haxe build
This commit is contained in:
parent
0812b43bb8
commit
21505261f8
5
Makefile
5
Makefile
@ -1,14 +1,17 @@
|
||||
BIN_NAME := Haxe.lua
|
||||
MINIFYD_NAME := Haxe.min.lua
|
||||
BUILD_DIR := build
|
||||
HAXE_FLAGS = -D webconsole
|
||||
|
||||
BIN_PATH := $(BUILD_DIR)/$(BIN_NAME)
|
||||
MIN_PATH := $(BUILD_DIR)/$(MINIFYD_NAME)
|
||||
|
||||
all: clean $(MIN_PATH)
|
||||
|
||||
build: $(MIN_PATH)
|
||||
|
||||
$(BIN_PATH): $(shell find src -name '*.hx')
|
||||
haxe build.hxml --lua $@
|
||||
haxe build.hxml $(HAXE_FLAGS)
|
||||
|
||||
$(MIN_PATH): $(BIN_PATH)
|
||||
node minify.js $@
|
||||
|
@ -5,5 +5,5 @@
|
||||
|
||||
--dce full
|
||||
|
||||
# --lua build/Haxe.lua
|
||||
--lua build/Haxe.lua
|
||||
-D lua-vanilla
|
||||
|
Loading…
Reference in New Issue
Block a user