diff options
| author | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2014-04-09 13:26:08 -0400 |
|---|---|---|
| committer | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2014-04-09 13:26:08 -0400 |
| commit | 0c48819ec733c30174e9eb57d3f4065eb503d892 (patch) | |
| tree | 78c20f29f50ab9e1f495083e272b43dc2f5e870a /Makefile | |
Initial commit
Diffstat (limited to 'Makefile')
| -rwxr-xr-x | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100755 index 0000000..d11876c --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +.PHONY: all compare clean
+
+ROMS := tcg.gbc
+OBJS := main.o
+
+all: tcg.gbc compare
+compare: baserom.gbc $(ROMS)
+ cmp $^
+
+%.o: %.asm
+ rgbasm -o $@ $<
+
+tcg.gbc: $(OBJS)
+ rgblink -o $@ $^
+ rgbfix -v $@
+
+clean:
+ rm -f $(ROMS)
+ rm -f $(OBJS)
\ No newline at end of file |
