diff options
author | David Phillips <david@sighup.nz> | 2019-04-14 16:10:18 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2019-08-03 12:42:57 +1200 |
commit | ac8150b7601d9611818bb8b265a125a347a67004 (patch) | |
tree | aa1440c18551fa415af53daedde76536ac2d000d /Makefile | |
download | toy-cpu-assembler-ac8150b7601d9611818bb8b265a125a347a67004.tar.xz |
Dirst dump of working prototype
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fa8f61b --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +OBJECTS = lex.o parse.o output.o assembler.o tok_util.o + +all: assembler + +assembler: $(OBJECTS) + +lex.o: lex.h + +parse.o: lex.h parse.h instruction.h tok_util.h + +output.o: parse.h + +tok_util.o: lex.h + + +.PHONY: clean +clean: + - rm -f assembler $(OBJECTS) |