aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
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)