diff options
author | Matthew Sotoudeh <matthew@masot.net> | 2023-07-27 12:06:17 -0700 |
---|---|---|
committer | Matthew Sotoudeh <matthew@masot.net> | 2023-07-27 12:06:17 -0700 |
commit | 578531395ecbabd8179e31520c2832ac7d6d3765 (patch) | |
tree | a19666928bb0d8aa47c9c9135cd80268b124ec82 /python/examples/dynamic_typing/Makefile | |
parent | e29b2b00691b12ae70e97a072664bad073d81c4f (diff) |
add dynamic typing example
Diffstat (limited to 'python/examples/dynamic_typing/Makefile')
-rw-r--r-- | python/examples/dynamic_typing/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/python/examples/dynamic_typing/Makefile b/python/examples/dynamic_typing/Makefile new file mode 100644 index 0000000..b32e6cb --- /dev/null +++ b/python/examples/dynamic_typing/Makefile @@ -0,0 +1,8 @@ +test: test.c runtime/dynamic_typing.o + dietcc -I $(PWD)/runtime -o $@ $^ --dietc-pass $(PWD)/dietpass + +runtime/dynamic_typing.o: runtime/dynamic_typing.c + gcc -c -o $@ $^ + +clean: + rm -f runtime/dynamic_typing.o test |