Skip to content

Commit 3d05375

Browse files
committed
Merge pull request #2 from hans-vg/master
Fixed Makefile issue by moving the -lz LDFLAG to after the -o argument
2 parents 464aee2 + 8cb2ca6 commit 3d05375

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ clean:
2828
rm -f pairs pairs.o
2929

3030
seqqs: $(OBJS)
31-
$(CC) $(CFLAGS) $(LDFLAGS) $? -o $(PROGRAM_NAME)
31+
$(CC) $(CFLAGS) $? -o $(PROGRAM_NAME) $(LDFLAGS)
3232

3333
pairs: pairs.o
34-
$(CC) $(CFLAGS) $(LDFLAGS) $? -o pairs
34+
$(CC) $(CFLAGS) $? -o pairs $(LDFLAGS)
3535

3636
lib: libseqqs.so
3737

0 commit comments

Comments
 (0)