Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyunmaths committed Aug 31, 2023
1 parent a015db9 commit c0b64c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ COMMONLIBS= -Llib/ -lz -lm -lpthread -lbz2 -lcurl -lcrypto -llzma -fopenmp
LIBS += $(COMMONLIBS)

TARGET = MuSE
LINKLINE = $(LINK) -O3 -o $(TARGET) $(OBJS) $(COMMONOBJS) $(MATCHOBJS) $(LIBS)
LINKLINE = $(LINK) -O3 -g -o $(TARGET) $(OBJS) $(COMMONOBJS) $(MATCHOBJS) $(LIBS)
OPENMP= -fopenmp

#all:
all: $(TARGET)
Expand All @@ -40,7 +41,7 @@ all: $(TARGET)
$(CC) $(CFLAGS) $(RELEASE_FLAGS) -c $< -o $@

%.cpp.o: %.cpp
$(CPP) $(CPPFLAGS) $(RELEASE_FLAGS) -c $< -o $@
$(CPP) $(CPPFLAGS) $(RELEASE_FLAGS) $(OPENMP) -c $< -o $@

$(TARGET): $(OBJS) Makefile
$(LINKLINE)
Expand Down

0 comments on commit c0b64c8

Please sign in to comment.