aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 133e59c..f4ec5b6 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ MAINBINARIES = btasktd
.SUFFIXES:
.SUFFIXES: .c .o
-.PHONY: all clean dist ctags
+.PHONY: all clean dist ctags rebuild
all: $(MAINBINARIES)
@@ -38,11 +38,13 @@ dist:
clean:
rm -f $(MAINBINARIES) *.o *.test tags
+rebuild: clean all
+
.c.o:
$(CC) $(DEBUG) $(CFLAGS) -c $< -o $@
-BTASKTD_OBJECTS = btasktd.o cliflags.o
+BTASKTD_OBJECTS = btasktd.o cliflags.o codes.o
BTASKTD_LIBS = -lc
btasktd: $(BTASKTD_OBJECTS)