mirror of
https://github.com/Adorable-Catgirl/LuaComp.git
synced 2025-04-12 22:58:18 +10:00
Makefile for building on Windows
This commit is contained in:
parent
4eb84b0e85
commit
062f7544d5
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
ifeq ($(OS),Windows_NT)
|
||||||
|
export HOME = %appdata%
|
||||||
|
|
||||||
|
# If you're using Windows, change the path to wherever you put LuaComp in.
|
||||||
|
COMMAND = lua53 "./luacomp.lua"
|
||||||
|
# COMMAND = lua53 "C:/Standalone Programs/luacomp-5.3.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
|
Loading…
Reference in New Issue
Block a user