diff options
author | ubq323 <ubq323@ubq323.website> | 2022-10-28 01:17:59 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-10-28 01:17:59 +0100 |
commit | c524506e04927a39648d47ba55af4fdff32faab6 (patch) | |
tree | 94fb88c53b7b1530753872277ec8f3d2caaa8161 /Makefile | |
parent | 7a17c3a4ea869a04041ff2568fd02ec676ab8dff (diff) |
horrible makefile tricks, making the buffer thing actually buffer the buffers bufferously, properly, also fix typos
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 |