amend rules for moonscript stuff
This commit is contained in:
parent
a9eeaaf648
commit
4fae16e54f
|
@ -15,5 +15,5 @@ CFLAGS += -Werror
|
||||||
!gccgo = |> ^ GCCGo: %f -> Binary %o^ gccgo $(GOFLAGS) -o %o %f |>
|
!gccgo = |> ^ GCCGo: %f -> Binary %o^ gccgo $(GOFLAGS) -o %o %f |>
|
||||||
!cc = |> ^ CC: %f -> Binary %o^ gcc $(CFLAGS) -o %o %f |>
|
!cc = |> ^ CC: %f -> Binary %o^ gcc $(CFLAGS) -o %o %f |>
|
||||||
!obj = |> ^ CC: %f -> Binary %o^ gcc $(CFLAGS) -c -o %o %f |>
|
!obj = |> ^ CC: %f -> Binary %o^ gcc $(CFLAGS) -c -o %o %f |>
|
||||||
!moon = |> ^ Moonscript: %f -> Script %o^ moonc -o %o %f && chmod u+x %o |>
|
!moon = |> ^ Moonscript: %f -> Script %o^ moonc -o %o %f |>
|
||||||
!luascript = |> ^ Lua script: %f -> Script %o^ echo "#!/usr/bin/lua" >> %o && cat %f >> %o && chmod u+x %o |>
|
!luascript = |> ^ Lua script: %f -> Script %o^ echo "#!/usr/bin/lua" >> %o && cat %f >> %o && chmod u+x %o |>
|
||||||
|
|
|
@ -4,3 +4,4 @@ include_rules
|
||||||
: foreach *.moon |> !moon |> ../../lua/%B.lua
|
: foreach *.moon |> !moon |> ../../lua/%B.lua
|
||||||
|
|
||||||
: ../../lua/free.lua |> !luascript |> ../../bin/free-moon
|
: ../../lua/free.lua |> !luascript |> ../../bin/free-moon
|
||||||
|
: ../../lua/fuckedtail.lua |> !luascript |> ../../bin/fuckedtail
|
||||||
|
|
Loading…
Reference in New Issue