aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.sh
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-24 15:11:22 +1000
committerDavid Walter Seikel2012-01-24 15:11:22 +1000
commitc80298ea7c5e8a37b3d8917fc33b74eb6c4fc78d (patch)
treed74eb530eb00737c2293a5dfd98a63b9f754dde1 /build.sh
parentAdd an overall build script. (diff)
downloadSledjHamr-c80298ea7c5e8a37b3d8917fc33b74eb6c4fc78d.zip
SledjHamr-c80298ea7c5e8a37b3d8917fc33b74eb6c4fc78d.tar.gz
SledjHamr-c80298ea7c5e8a37b3d8917fc33b74eb6c4fc78d.tar.bz2
SledjHamr-c80298ea7c5e8a37b3d8917fc33b74eb6c4fc78d.tar.xz
Oops, build lemon IN the lemon tree.
Yay! A fruity pun. B-)
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 306eded..3a61050 100755
--- a/build.sh
+++ b/build.sh
@@ -24,10 +24,10 @@ names="lemon"
24objects="" 24objects=""
25for i in $names 25for i in $names
26do 26do
27 command="gcc $CFLAGS -c -o ../$i.o $i.c" 27 command="gcc $CFLAGS -c -o $i.o $i.c"
28 echo $command 28 echo $command
29 $command 29 $command
30 objects="$objects ../$i.o" 30 objects="$objects $i.o"
31done 31done
32command="gcc $CFLAGS -o lemon $objects $LDFLAGS $libs" 32command="gcc $CFLAGS -o lemon $objects $LDFLAGS $libs"
33echo $command 33echo $command