.POSIX: .SUFFIXES: .c .o CC=cc debug=-g -DDEBUG -DLOCAL CFLAGS=$(MORE_CFLAGS) -Wall OBJS=bee.o irc.o util.o all: apiobot apiobot: $(OBJS) $(CC) $(CFLAGS) -o apiobot $(OBJS) debug: make apiobot MORE_CFLAGS="-DDEBUG -DLOCAL -g" .c.o: $(CC) $(CFLAGS) -c $< -o $@ run: all ./apiobot dr: debug ./apiobot clean: rm *.o apiobot