This commit is contained in:
Jinghao Shi 2017-04-03 14:05:07 -04:00
parent bf4701fb39
commit d3ff9e7ce8

View File

@ -32,11 +32,17 @@ COMPILER_FLAGS = -v -c $(MODULE_LIST) -o $(COMPILER_OUT) -DDEBUG_PRINT
SIMULATOR_FLAGS = -v -n
###############################################################################
all: compile simulate
#MAKE DIRECTIVES
compile: $(TESTBENCH) $(SRC)
compile: $(COMPILER_OUT)
simulate: $(COMPILER_OUT) $(SIM_OUT)
$(COMPILER_OUT): $(TESTBENCH) $(SRC)
$(COMPILER) $(COMPILER_FLAGS) $(TESTBENCH)
simulate: compile
$(SIM_OUT): $(COMPILER_OUT)
$(SIMULATOR) $(SIMULATOR_FLAGS) $(COMPILER_OUT)
clean: