Fix: add make dependency for disass

This commit is contained in:
Horseshoe Crab 2021-05-17 03:44:06 -04:00
parent 081b72c6ea
commit 1c8605952f
2 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,7 @@ trace: $(TARGET)
disass: CFLAGS += -DTRACE -lreadline 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/$@ $^ $(CC) $(CFLAGS) -o bin/$@ $^
bin/%.o: src/%.c bin/%.o: src/%.c

View File

@ -9,6 +9,7 @@
#include <string.h> #include <string.h>
#include "vm.h" #include "vm.h"
#include "emcalls.h"
char *usage = "Usage: %s [-z] [-s [start_addr]] -f [vmcodefile]\n" char *usage = "Usage: %s [-z] [-s [start_addr]] -f [vmcodefile]\n"