Skip to content

Commit 5c57eaa

Browse files
author
Sancar Adali
committed
fix C binary building in windows
1 parent d2a9a88 commit 5c57eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makevars.win

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ graphm/./algorithm_unif.o: algorithm_unif.cpp algorithm_unif.h
7474

7575
graphm_bin: graphm/bin/graphm
7676
graphm/bin/graphm: $(GRAPHM_OBJ_REL)
77-
cd graphm && $(CXX) $(PKG_CPPFLAGS) -c main.cpp -o bin/graphm
77+
cd graphm && $(CXX) $(PKG_CPPFLAGS) -I"$(LIB_GSL)\include" main.cpp ./*o $(LDFLAGS) -o ./bin/graphm $(PKG_LIBS)
7878

7979
clean: cleanb
8080

0 commit comments

Comments
 (0)