Make C do .o files

This commit is contained in:
Christine Dodrill 2015-06-12 09:52:18 -07:00
parent 903735f91a
commit 3560ec838c
2 changed files with 7 additions and 1 deletions

4
src/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
##### TUP GITIGNORE #####
##### Lines below automatically generated by Tup.
##### Do not edit.
/reaper.o

View File

@ -4,4 +4,6 @@ include_rules
: foreach *.moon |> moonc -o ../bin/%B.lua %f && chmod u+x ../bin/%B.lua |> ../bin/%B.lua
: foreach *.nim |> !nim |> ../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