1
0
mirror of https://github.com/Adorable-Catgirl/LuaComp.git synced 2025-04-12 22:58:18 +10:00
LuaComp/Makefile
Atirut Wattanamongkol 6fd6b55a48 Can't get directive & minifier providers to work on Windows for some reason
I temporarily commented them out for Windows

TODO: test on Linux
2021-04-16 18:03:57 +07:00

20 lines
389 B
Makefile

ifeq ($(OS),Windows_NT)
# If you're using Windows, change the path to wherever you put LuaComp in.
COMMAND = lua53 "./luacomp.lua"
# COMMAND = lua53 "C:/Standalone Programs/luacomp.lua"
else
COMMAND = luacomp
endif
build:
@echo Building LuaComp...
@${COMMAND} ./src/application.lua -O ./luacomp.lua
clean:
ifeq ($(OS),Windows_NT)
rmdir build /s /q
else
rm -rf build
endif