ports/net-im/concord/files/Makefile.examples
Souji Thenria 97d2f200cd net-im/concord: New port: Discord library written in C
Concord is an asynchronous C99 Discord API library with minimal external
dependencies, and a low-level translation of the Discord official
documentation to C code.
https://github.com/Cogmasters/concord

PR:	279553
2024-09-22 00:42:33 +03:00

48 lines
981 B
Text

CC ?= cc
STD_BOTS = 8ball \
audit-log \
ban \
cache \
channel \
components \
copycat \
embed \
emoji \
fetch-messages \
guild-template \
guild \
invite \
manual-dm \
pin \
ping-pong \
presence \
reaction \
shell \
slash-commands \
slash-commands2 \
spam \
webhook \
timers
VOICE_BOTS = voice-join
BOTS += $(STD_BOTS)
CFLAGS += -O0 -g -pthread -Wall -I/usr/local/include
LDFLAGS = -L/usr/local/lib
LDLIBS = -ldiscord -lcurl
all: $(BOTS)
voice:
@ CFLAGS=-DCCORD_VOICE BOTS=$(VOICE_BOTS) $(MAKE)
echo:
@ echo -e 'CC: $(CC)\n'
@ echo -e 'STD_BOTS: $(STD_BOTS)\n'
@ echo -e 'VOICE_BOTS: $(VOICE_BOTS)\n'
clean:
@ rm -f $(STD_BOTS) $(VOICE_BOTS)
.PHONY: all echo clean