aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2024-11-15 21:22:20 +0800
committerMistivia <i@mistivia.com>2024-11-15 21:22:20 +0800
commit789ebeb7d097d2824ff62c73438af4cb77f882bc (patch)
tree86de650556666795641016e33517f8d22714815c /Makefile
parent12f7b236531d839fe6790c71e2e51e014ae84e3d (diff)
finish project framework
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4095f31..1a79f46 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-target = foo
+target = fvm
cflags = -g
ldflags = -lm
cc = gcc
@@ -10,6 +10,8 @@ tests_bin=$(tests:.c=.bin)
all: $(target)
+full: all $(tests_bin)
+
$(target): $(obj) src/main.o
$(cc) $(cflags) $(ldflags) -o $@ $^