mirror of
https://github.com/WCBROW01/zblock.git
synced 2025-12-11 20:18:07 -05:00
Changes for running on FreeBSD
This commit is contained in:
6
Makefile
6
Makefile
@ -1,5 +1,5 @@
|
||||
CFLAGS = -Wall -Wextra -std=gnu11 -O2
|
||||
LDFLAGS = -lpthread -lcurl -lmrss -lpq
|
||||
CFLAGS = -I/usr/local/include -Ipostgresql -Wall -Wextra -std=gnu11 -O2
|
||||
LDFLAGS = -L/usr/local/lib -lpthread -lcurl -lmrss -lpq
|
||||
|
||||
SRC = $(wildcard *.c)
|
||||
OBJ = $(SRC:.c=.o)
|
||||
@ -8,4 +8,4 @@ zblock: $(OBJ) /usr/local/lib/libdiscord.a
|
||||
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)
|
||||
|
||||
.PHONY: clean
|
||||
clean: rm -f $(OBJ) linuxbot
|
||||
clean: rm -f $(OBJ) zblock
|
||||
|
||||
Reference in New Issue
Block a user