summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 892125d..95d7e82 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,9 @@ OBJECTS = $(BINARY).o
all: $(BINARY)
+$(BINARY): $(BINARY).c 3dmath.c
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(BINARY) 3dmath.c $(BINARY).c
+
clean:
rm -f $(BINARY).o $(BINARY)