summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-10-02 11:42:40 -0400
committerSam Anthony <sam@samanthony.xyz>2024-10-02 11:42:40 -0400
commit49751d69498c265cb46f6cce5033367ae39c5e91 (patch)
tree5dc5293c2c3e5bc0ccfbcfd4ed3bdc311ee38364 /Makefile
parent66559ba8c23e5d1591336a703785a7bc42e98f2d (diff)
downloadballs-49751d69498c265cb46f6cce5033367ae39c5e91.zip
animate
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index be1b32b..8bd89f1 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,9 @@ CC = g++
CFLAGS = -Wall -pedantic
LDFLAGS = -ltbb -lglut -lGLU -lGL
-balls: balls.o
+balls: balls.o collision.o
${CC} -o $@ $^ ${LDFLAGS}
@echo done
-%.o: %.cpp
+%.o: %.cpp balls.h
${CC} -c ${CFLAGS} $< \ No newline at end of file