From 903735f91acb48bfead7b84b6d6179a75e3688f0 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Thu, 11 Jun 2015 18:34:56 -0700 Subject: [PATCH] Move things around --- Tuprules.tup | 5 ----- src/Tupfile | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Tuprules.tup b/Tuprules.tup index 2e65e78..3d020b7 100644 --- a/Tuprules.tup +++ b/Tuprules.tup @@ -9,8 +9,3 @@ GOFLAGS += -g !nim = |> nim c $(NIMFLAGS) -o:%o %f && rm -rf .nimcache |> !gccgo = |> gccgo $(GOFLAGS) -o %o %f |> - -: 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 diff --git a/src/Tupfile b/src/Tupfile index 2d1bed7..c3f4d5a 100644 --- a/src/Tupfile +++ b/src/Tupfile @@ -1,2 +1,7 @@ .gitignore 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