quote-bot/makefile

15 lines
309 B
Makefile
Raw Normal View History

CFLAGS += -ggdb -O0 -std=c89 -W -Wall -Wextra -pedantic
LDFLAGS += -lpthread -lircclient -lsqlite3
all: spammer
spammer: spammer.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
# TODO: client side / offline access
db: db.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) -DTEST_DB
clean:
$(RM) -rf spammer db a.out *.o *.db