Fix linking option for release
This commit is contained in:
23
Makefile
23
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: CC=x86_64-w64-mingw32-gcc
|
||||
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: CC=x86_64-w64-mingw32-gcc
|
||||
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
|
||||
@@ -24,7 +24,7 @@ argtable3.o: src/argtable3.c
|
||||
|
||||
base64.o: src/base64.c
|
||||
$(CC) $(CFLAGS) -c src/base64.c -o objs/base64.o
|
||||
|
||||
|
||||
binhex.o: src/binhex.c
|
||||
$(CC) $(CFLAGS) -c src/binhex.c -o objs/binhex.o
|
||||
|
||||
@@ -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