fixed DESTDIR support in simumation Makefiles

This commit is contained in:
Blaise Tine
2023-12-29 14:11:16 -08:00
parent e62d122c9b
commit 7425446b15
7 changed files with 59 additions and 48 deletions

View File

@@ -1,6 +1,11 @@
XLEN ?= 32
DESTDIR ?= $(CURDIR)
SIM_DIR = $(abspath ../../sim)
HW_DIR = $(abspath ../../hw)
CXXFLAGS += -std=c++11 -O2 -Wall -Wextra -pedantic -Wfatal-errors
CXXFLAGS += -I../include -I../../runtime -I../../hw -I../../sim/common
CXXFLAGS += -I../include -I../common -I$(HW_DIR) -I$(SIM_DIR)/common
CXXFLAGS += -fPIC