Fix linking option for release
This commit is contained in:
17
Makefile
17
Makefile
@@ -1,21 +1,21 @@
|
||||
CC=gcc
|
||||
CFLAGS=-Wall -Werror -pthread -O3 -lm
|
||||
LDFLAGS=
|
||||
CFLAGS=-Wall -Werror -pthread -O3 -g0
|
||||
LDFLAGS=-lm -s
|
||||
|
||||
default: inexact
|
||||
|
||||
windows: CC=x86_64-w64-mingw32-gcc
|
||||
windows: CFLAGS=-Wall -Werror -pthread -O3 -lm
|
||||
windows: LDFLAGS=
|
||||
windows: CFLAGS=-Wall -Werror -pthread -O3 -g0
|
||||
windows: LDFLAGS=-lm -s
|
||||
windows: inexact
|
||||
|
||||
windows-debug: CC=x86_64-w64-mingw32-gcc
|
||||
windows-debug: CFLAGS=-Wall -Werror -pthread -O3 -g -lm
|
||||
windows-debug: LDFLAGS=
|
||||
windows-debug: CFLAGS=-Wall -Werror -pthread -O3 -g
|
||||
windows-debug: LDFLAGS=-lm
|
||||
windows-debug: inexact
|
||||
|
||||
debug: CFLAGS=-Wall -Werror -pthread -O3 -g -lm
|
||||
debug: LDFLAGS=
|
||||
debug: CFLAGS=-Wall -Werror -pthread -O3 -g
|
||||
debug: LDFLAGS=-lm
|
||||
debug: inexact
|
||||
|
||||
argtable3.o: src/argtable3.c
|
||||
@@ -61,4 +61,3 @@ inexact: src/main.c argtable3.o base64.o binhex.o curve25519.o inexact.o norx_in
|
||||
clean:
|
||||
-rm objs/*.o
|
||||
-rm -f inexact inexact.exe
|
||||
|
||||
|
||||
Reference in New Issue
Block a user