aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMr. Goblin <mrgoblin@mrgoblin.net>2026-09-27 22:51:34 +0300
committerMr. Goblin <mrgoblin@mrgoblin.net>2026-09-27 22:51:34 +0300
commit76eae6e283c42d1c4a5a0efb94f7d6366d40487b (patch)
treefb61705947e7c43212c27b8d87ea323fa201f6ea /Makefile
parent753621c39b76bd90610ea758567525425f8e2913 (diff)
echo server
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)