summaryrefslogtreecommitdiff
path: root/tmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tmp/Makefile')
-rw-r--r--tmp/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tmp/Makefile b/tmp/Makefile
new file mode 100644
index 0000000..eece6e4
--- /dev/null
+++ b/tmp/Makefile
@@ -0,0 +1,10 @@
+all:
+ cd ../ && yasm -f elf ./tmp/test2.s -o ./tmp/test2.o && \
+ cc -lc ./tmp/test2.o -o ./tmp/test2
+run: all
+ ./test2
+clean:
+ for i in test2.o test2; do \
+ if [ -f $$i ]; then rm $$i; fi; \
+ done
+