aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-10-29 03:51:48 +0100
committerubq323 <ubq323@ubq323.website>2022-10-29 03:51:54 +0100
commit86dac1e342e0b5b52dbd68152cdc8d5a60128ce8 (patch)
treefa8c383b468918b948a9fb5aadc3a1ef75a96b14 /Makefile
parent8e7e23110bc483ba647d33d6f46a7fac1302107c (diff)
functionality. (it is functionally equivalent to the old version now)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9d57e9e..388884c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,9 @@
CC=cc
debug=-g -DDEBUG -DLOCAL
-CFLAGS=$(MORE_CFLAGS) -Wall
+CFLAGS=$(MORE_CFLAGS) -Wall -Wpedantic
-OBJS=bee.o irc.o util.o unix.o
+OBJS=bee.o irc.o util.o unix.o conf.o
all: apiobot
apiobot: $(OBJS)
@@ -13,11 +13,19 @@ apiobot: $(OBJS)
debug:
make apiobot MORE_CFLAGS="-DDEBUG -DLOCAL -g"
+local:
+ make apiobot MORE_CFLAGS="-DLOCAL"
-
.c.o:
$(CC) $(CFLAGS) -c $< -o $@
+apiosend.o: apiosend.c
+bee.o: bee.c irc.h unix.h
+conf.o: conf.c conf.h
+irc.o: irc.c irc.h debug.h conf.h util.h
+unix.o: unix.c unix.h conf.h
+util.o: util.c util.h conf.h debug.h
+
run: all
./apiobot