mirror of
https://github.com/colindean/optar.git
synced 2025-03-11 22:17:40 +13:00
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:
parent
d5f0f967f1
commit
003add7a98
2
Makefile
2
Makefile
@ -45,4 +45,4 @@ golay: golay.o parity.o
|
|||||||
gcc $(LDFLAGS) -o $@ $^
|
gcc $(LDFLAGS) -o $@ $^
|
||||||
|
|
||||||
unoptar: unoptar.o common.o golay_codes.o parity.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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user