From 1c8605952f985718532c998f9b042a08bf011628 Mon Sep 17 00:00:00 2001 From: x1phosura Date: Mon, 17 May 2021 03:44:06 -0400 Subject: [PATCH] Fix: add make dependency for disass --- Makefile | 2 +- src/disass.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6d8380d..863dfbb 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ trace: $(TARGET) disass: CFLAGS += -DTRACE -lreadline -disass: bin/disass.o bin/vm.o +disass: bin/disass.o bin/vm.o bin/emcalls.o $(CC) $(CFLAGS) -o bin/$@ $^ bin/%.o: src/%.c diff --git a/src/disass.c b/src/disass.c index a433328..1341c0f 100644 --- a/src/disass.c +++ b/src/disass.c @@ -9,6 +9,7 @@ #include #include "vm.h" +#include "emcalls.h" char *usage = "Usage: %s [-z] [-s [start_addr]] -f [vmcodefile]\n"