aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: cb02b502b32f95b6b740e7f4fa5232cccd26d4ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.POSIX:
.SUFFIXES: .c .o

CFLAGS=-Wall
CC=cc
debug=-g -DDEBUG -DLOCAL

OBJS=bee.o irc.o util.o

all: apiobot
apiobot: $(OBJS)
	$(CC) $(CFLAGS) -o apiobot $(OBJS)

debug:
	$(CC) $(CFLAGS) $(debug) -o apiobot $(OBJS)

.c.o:
	$(CC) -c $< $(CFLAGS) -o $@

run: all
	./apiobot

dr: debug
	./apiobot

clean:
	rm *.o apiobot