aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ebbff3e..c55dda1 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,9 @@ CC = gcc-13
CFLAGS = -std=c2x -Iinclude
endif
-all: $(objs)
+all: out
+out: $(objs)
+ $(CC) $(CFLAGS) -o $@ $^
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<