From 4529d87b04a77300ef26c8d39d3aaf1edfb419f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20LACROIX?= Date: Wed, 31 May 2023 21:59:52 +0200 Subject: [PATCH] Added vhdl/inter make options --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e871dee..a97ea4e 100644 --- a/Makefile +++ b/Makefile @@ -7,10 +7,9 @@ CFLAGS=-Wall -g OBJ=yacc.tab.o lex.yy.o table.o operations.o blocs.o asmTable.o -all: $(BIN) +asm: $(BIN) @touch testFile # to prevent an error in case of deletion - ./out < testFile - + ./out < testFile build: $(BIN) @@ -29,3 +28,9 @@ $(BIN): $(OBJ) clean: rm $(OBJ) yacc.tab.c yacc.tab.h lex.yy.c +vhdl: clean asm + python3 post-process.py + +inter: clean asm + python3 graph_interpreter.py +