summaryrefslogtreecommitdiffstats
path: root/Demo/embed/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/embed/Makefile')
-rw-r--r--Demo/embed/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Demo/embed/Makefile b/Demo/embed/Makefile
index fb2b1ed..ee0196b 100644
--- a/Demo/embed/Makefile
+++ b/Demo/embed/Makefile
@@ -32,13 +32,20 @@ all: demo
demo: demo.o
$(CC) $(LDFLAGS) demo.o $(ALLLIBS) -o demo
+loop: loop.o
+ $(CC) $(LDFLAGS) loop.o $(ALLLIBS) -o loop
+
# Administrative targets
test: demo
./demo
+COMMAND="print 'hello world'"
+looptest: loop
+ ./loop $(COMMAND)
+
clean:
-rm -f *.o core
clobber: clean
- -rm -f *~ @* '#'* demo
+ -rm -f *~ @* '#'* demo loop