Fixed build.
This commit is contained in:
parent
02cf87e47d
commit
4eb54321f6
3
Makefile
3
Makefile
@ -2,7 +2,7 @@ all: build build_rpylib run build_mingw
|
||||
|
||||
# Variables for compiler and flags
|
||||
CC = gcc
|
||||
CFLAGS = -Ofast -Werror -Wall -lreadline -lncurses -lcurl -lgnutls -ljson-c -lsqlite3 -lm $(pkg-config --cflags --libs gnutls gmp) -lnettle -lssl -lcrypto
|
||||
CFLAGS = -Ofast -Werror -Wall -lreadline -lncurses -lcurl -ljson-c -lsqlite3 -lm $(pkg-config --cflags --libs gnutls gmp) -lssl -lcrypto
|
||||
|
||||
# MinGW Variables
|
||||
MINGW_CC = x86_64-w64-mingw32-gcc # Change to x86_64-w64-mingw32-gcc for 64-bit
|
||||
@ -10,6 +10,7 @@ MINGW_CFLAGS = -Ofast -Werror -Wall -lreadline -lcurl -lssl -lcrypto -ljson-c -l
|
||||
|
||||
# Targets
|
||||
build: publish
|
||||
mkdir -p bin
|
||||
$(CC) main.c $(CFLAGS) -o bin/r
|
||||
cp bin/r r
|
||||
publish r
|
||||
|
Loading…
Reference in New Issue
Block a user