aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-07-07 18:13:15 +0000
committernathan <nathansmith@disroot.org>2025-07-07 18:13:15 +0000
commit779ed23839fcabf53b72267f29e2f86a5691270e (patch)
tree5f3db2ac7a9e35e241d5406ea1e0090eb3672b28 /src/Makefile
parent811d5bf064ce992bc742f55c112a777801126861 (diff)
downloadFindThings-779ed23839fcabf53b72267f29e2f86a5691270e.tar.gz
FindThings-779ed23839fcabf53b72267f29e2f86a5691270e.tar.bz2
FindThings-779ed23839fcabf53b72267f29e2f86a5691270e.zip
Working on BVH
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 711cb4a..0a01fd7 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -5,7 +5,7 @@ TARGET = FindThings
SOURCES = $(shell find -name "*.c")
OBJECTS = $(SOURCES:.c=.o)
-%.o: %.c
+%.o: %.c %.h
$(CC) -c $(CFLAGS) -o $@ $<
$(TARGET): $(OBJECTS)
$(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS) $(LDFLAGS)