Fix the order of -l flags to fix compiling unoptar

Fixes #2

Apparently the order of the flags matters. Go figure.
This commit is contained in:
C Nelson 2013-04-06 13:45:13 -05:00
parent d5f0f967f1
commit 003add7a98

View File

@ -45,4 +45,4 @@ golay: golay.o parity.o
gcc $(LDFLAGS) -o $@ $^
unoptar: unoptar.o common.o golay_codes.o parity.o
gcc $(LDFLAGS) -o $@ -L/usr/local/lib -lpng -lz $^
gcc -o $@ -L/usr/local/lib $^ -lm -lpng -lz