+ Microarchitecture optimizations + 64-bit support + Xilinx FPGA support + LLVM-16 support + Refactoring and quality control fixes
19 lines
362 B
Makefile
19 lines
362 B
Makefile
CXXFLAGS += -std=c++11 -O2 -Wall -Wextra -pedantic -Wfatal-errors
|
|
|
|
CXXFLAGS += -I../include -I../../runtime -I../../hw -I../../sim/common
|
|
|
|
CXXFLAGS += -fPIC
|
|
|
|
LDFLAGS += -shared -pthread
|
|
|
|
SRCS = vortex.cpp ../common/utils.cpp
|
|
|
|
PROJECT = libvortex.so
|
|
|
|
all: $(PROJECT)
|
|
|
|
$(PROJECT): $(SRCS)
|
|
$(CXX) $(CXXFLAGS) $^ $(LDFLAGS) -o $@
|
|
|
|
clean:
|
|
rm -rf $(PROJECT) obj_dir
|