Make C do .o files
This commit is contained in:
parent
903735f91a
commit
3560ec838c
|
@ -0,0 +1,4 @@
|
||||||
|
##### TUP GITIGNORE #####
|
||||||
|
##### Lines below automatically generated by Tup.
|
||||||
|
##### Do not edit.
|
||||||
|
/reaper.o
|
|
@ -4,4 +4,6 @@ include_rules
|
||||||
: foreach *.moon |> moonc -o ../bin/%B.lua %f && chmod u+x ../bin/%B.lua |> ../bin/%B.lua
|
: foreach *.moon |> moonc -o ../bin/%B.lua %f && chmod u+x ../bin/%B.lua |> ../bin/%B.lua
|
||||||
: foreach *.nim |> !nim |> ../bin/%B
|
: foreach *.nim |> !nim |> ../bin/%B
|
||||||
: foreach *.go |> !gccgo |> ../bin/%B
|
: foreach *.go |> !gccgo |> ../bin/%B
|
||||||
: foreach *.c |> gcc -o ../bin/%B %f |> ../bin/%B
|
|
||||||
|
: foreach *.c |> gcc -Wall -c %f -o %o |> %B.o
|
||||||
|
: reaper.o |> gcc %f -o %o |> ../bin/reaper
|
||||||
|
|
Loading…
Reference in New Issue