Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnanm committed Mar 13, 2023
1 parent 073930b commit 03f6e0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ HLS_ROOT := ../../hls
HLS4ML_INCLUDE := $(EMULATOR_EXTRAS)/include/hls4ml
INCLUDES := -I$(HLS4ML_INCLUDE) -I$(AP_TYPES) -I$(HLS_ROOT)/include
LD_FLAGS := -L$(EMULATOR_EXTRAS)/lib64 -lemulator_interface
ALL_VERSIONS:=AXOL1TL_v1/GTADModel_v1.so
ALL_VERSIONS:=AXOL1TL_v1/GTADModel.so

.DEFAULT_GOAL := all
.PHONY: all clean install
Expand All @@ -19,10 +19,10 @@ all: $(ALL_VERSIONS)
install: all
@rm -rf $(PREFIX)/lib64
@mkdir -p $(PREFIX)/lib64
cp GTADModel_*.so $(PREFIX)/lib64
cp GTADModel*.so $(PREFIX)/lib64

%.so:
$(MAKE) -C $(@D) INCLUDES="$(INCLUDES)" LD_FLAGS="$(LD_FLAGS)" CXXFLAGS="$(CXXFLAGS)"

clean:
rm GTADModel_*.so
rm GTADModel*.so

0 comments on commit 03f6e0b

Please sign in to comment.