diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,9 +1,9 @@ .POSIX: .SUFFIXES: .c .o -CFLAGS=-Wall CC=cc debug=-g -DDEBUG -DLOCAL +CFLAGS=$(MORE_CFLAGS) -Wall OBJS=bee.o irc.o util.o @@ -12,10 +12,11 @@ apiobot: $(OBJS) $(CC) $(CFLAGS) -o apiobot $(OBJS) debug: - $(CC) $(CFLAGS) $(debug) -o apiobot $(OBJS) + make apiobot MORE_CFLAGS="-DDEBUG -DLOCAL -g" + .c.o: - $(CC) -c $< $(CFLAGS) -o $@ + $(CC) $(CFLAGS) -c $< -o $@ run: all ./apiobot |