diff --git a/Makeconf b/Makeconf index 501c5d6..5d14190 100644 --- a/Makeconf +++ b/Makeconf @@ -1,4 +1,4 @@ -TARGETS := libemu.a vgbc vgbc.test vgbc.inspect +TARGETS := libemu.a vgbc vgbc.test vgbc.inspect vgbc.gbdif cmd_libemu.a = ar -rc $@ $^ verb_libemu.a = pack @@ -26,4 +26,8 @@ $(objects_vgbc.test): CXX_FLAGS+=-I $(CURDIR)/tests modules_vgbc.inspect := cartridge/inspector.o libemu.a verb_vgbc.inspect := link +# Game Boy Doctor Interface +modules_vgbc.gbdif := misc/gbdif.o libemu.a +verb_vgbc.gbdif := link + CXX_FLAGS := -I $(CURDIR) diff --git a/main.cpp b/misc/gbdif.cpp similarity index 100% rename from main.cpp rename to misc/gbdif.cpp