diff options
Diffstat (limited to 'python/examples/refcounting/Makefile')
-rw-r--r-- | python/examples/refcounting/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/python/examples/refcounting/Makefile b/python/examples/refcounting/Makefile new file mode 100644 index 0000000..2d5e9d5 --- /dev/null +++ b/python/examples/refcounting/Makefile @@ -0,0 +1,8 @@ +test: test.c runtime/refcounting.o + dietcc -I $(PWD)/runtime -o $@ $^ --dietc-pass $(PWD)/dietpass + +runtime/refcounting.o: runtime/refcounting.c + gcc -c -o $@ $^ + +clean: + rm -f runtime/refcounting.o test |