aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorMr. Goblin <mrgoblin@mrgoblin.net>2026-09-19 15:06:12 +0300
committerMr. Goblin <mrgoblin@mrgoblin.net>2026-09-19 15:06:12 +0300
commit2b022e27d1939b46097e523c0973ffbf48d284b1 (patch)
tree8c2ca372445f65ed84231bc99c82b7033ecbb511 /src/Makefile
parent80f5d3071d92b57204e48f3cd9789651ab2ba83b (diff)
man page, dist.sh, README is now plain text, Makefile is now posix
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index fa8ddc8..2e8dd64 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -5,18 +5,26 @@
# CC = cc -fno-caret-diagnostics -fno-color-diagnostics
CC = gcc -fno-diagnostics-show-caret -fdiagnostics-color=never
# CC = gcc
-CFLAGS = -g -Wall -Wextra -pedantic -std=c99
-STATIC = -static
+CFLAGS = -Wall -Wextra -pedantic -std=c99
+
+# DEBUG = -g
+# DEBUG = -ggdb
+DEBUG =
+
+# STATIC = -static
+STATIC = -static -s
# STATIC =
MAINBINARIES = btasktd
+.SUFFIXES = .c .o
+
all: $(MAINBINARIES)
clean:
- rm -f $(MAINBINARIES) *.o
+ rm -f $(MAINBINARIES) *.o *.test
-%.o: %.c
+.c.o:
$(CC) $(CFLAGS) -c $< -o $@