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

Commit

Permalink
Merge pull request #2 from gvoskuilen/master
Browse files Browse the repository at this point in the history
Build 'libhbmdramsim' instead of 'libdramsim'
  • Loading branch information
jleidel authored Apr 24, 2018
2 parents 31ea1cd + f0043ef commit 34789be
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 34789be

Please sign in to comment.