Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Build 'libhbmdramsim' instead of 'libdramsim'
Browse files Browse the repository at this point in the history
  • Loading branch information
gvoskuilen committed Apr 24, 2018
1 parent 31ea1cd commit f0043ef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ endif
endif
CXXFLAGS+=$(OPTFLAGS)

STATIC_LIB_NAME := libdramsim.a
LIB_NAME=libdramsim.so
LIB_NAME_MACOS=libdramsim.dylib
STATIC_LIB_NAME := libhbmdramsim.a
LIB_NAME=libhbmdramsim.so
LIB_NAME_MACOS=libhbmdramsim.dylib

UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
LIB_NAME=libdramsim.dylib
LIB_NAME=libhbmdramsim.dylib
LDFLAGS=-g -shared -Wl
else
LIB_NAME=libdramsim.so
LIB_NAME=libhbmdramsim.so
LDFLAGS=-g -shared -Wl,-soname,$(LIB_NAME)
endif

Expand Down

0 comments on commit f0043ef

Please sign in to comment.