Fix linking option for release

This commit is contained in:
ben
2025-11-14 23:04:39 +01:00
parent 9cb9b2058d
commit 1b56f81768

View File

@@ -1,21 +1,21 @@
CC=gcc CC=gcc
CFLAGS=-Wall -Werror -pthread -O3 -lm CFLAGS=-Wall -Werror -pthread -O3 -g0
LDFLAGS= LDFLAGS=-lm -s
default: inexact default: inexact
windows: CC=x86_64-w64-mingw32-gcc windows: CC=x86_64-w64-mingw32-gcc
windows: CFLAGS=-Wall -Werror -pthread -O3 -lm windows: CFLAGS=-Wall -Werror -pthread -O3 -g0
windows: LDFLAGS= windows: LDFLAGS=-lm -s
windows: inexact windows: inexact
windows-debug: CC=x86_64-w64-mingw32-gcc windows-debug: CC=x86_64-w64-mingw32-gcc
windows-debug: CFLAGS=-Wall -Werror -pthread -O3 -g -lm windows-debug: CFLAGS=-Wall -Werror -pthread -O3 -g
windows-debug: LDFLAGS= windows-debug: LDFLAGS=-lm
windows-debug: inexact windows-debug: inexact
debug: CFLAGS=-Wall -Werror -pthread -O3 -g -lm debug: CFLAGS=-Wall -Werror -pthread -O3 -g
debug: LDFLAGS= debug: LDFLAGS=-lm
debug: inexact debug: inexact
argtable3.o: src/argtable3.c argtable3.o: src/argtable3.c
@@ -24,7 +24,7 @@ argtable3.o: src/argtable3.c
base64.o: src/base64.c base64.o: src/base64.c
$(CC) $(CFLAGS) -c src/base64.c -o objs/base64.o $(CC) $(CFLAGS) -c src/base64.c -o objs/base64.o
binhex.o: src/binhex.c binhex.o: src/binhex.c
$(CC) $(CFLAGS) -c src/binhex.c -o objs/binhex.o $(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: clean:
-rm objs/*.o -rm objs/*.o
-rm -f inexact inexact.exe -rm -f inexact inexact.exe