diff options
author | ubq323 <ubq323@ubq323.website> | 2022-10-28 00:48:14 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-10-28 00:49:31 +0100 |
commit | 7a17c3a4ea869a04041ff2568fd02ec676ab8dff (patch) | |
tree | a2ff40bfcae165d294344adcb941d03b535b7f90 /Makefile | |
parent | 705db03ebffa24b993f72ca2694ba0982fa80bde (diff) |
large refactor continues
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -1,21 +1,27 @@ .POSIX: -.SUFFIXES: +.SUFFIXES: .c .o CFLAGS=-Wall CC=cc debug=-g -DDEBUG -DLOCAL -fs=thing.c -all: thing +OBJS=bee.o irc.o util.o -thing: $(fs) - $(CC) $(CFLAGS) -o thing $(fs) +all: apiobot +apiobot: $(OBJS) + $(CC) $(CFLAGS) -o apiobot $(OBJS) debug: - $(CC) $(CFLAGS) $(debug) -o thing $(fs) + $(CC) $(CFLAGS) $(debug) -o apiobot $(OBJS) + +.c.o: + $(CC) -c $< $(CFLAGS) -o $@ run: all - ./thing + ./apiobot dr: debug - ./thing + ./apiobot + +clean: + rm *.o apiobot |