summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-10-02 11:44:15 -0400
committerSam Anthony <sam@samanthony.xyz>2024-10-02 11:44:15 -0400
commit5c89b3615c067c51e0076f5433ccbdbee5022f70 (patch)
tree8dbcc06c32aefe2cbdba572138fa181e03149be7 /Makefile
parent49751d69498c265cb46f6cce5033367ae39c5e91 (diff)
downloadballs-5c89b3615c067c51e0076f5433ccbdbee5022f70.zip
refactor
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8bd89f1..b4e8116 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,12 @@ CC = g++
CFLAGS = -Wall -pedantic
LDFLAGS = -ltbb -lglut -lGLU -lGL
-balls: balls.o collision.o
+balls: balls.o collision.o geometry.o
${CC} -o $@ $^ ${LDFLAGS}
@echo done
%.o: %.cpp balls.h
- ${CC} -c ${CFLAGS} $< \ No newline at end of file
+ ${CC} -c ${CFLAGS} $<
+
+clean:
+ rm -f ./*.o balls \ No newline at end of file