summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0c88a03..597ecdc 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ endif
# $^ - prerequisites of current rule separated by spaces
# $< - first prerequisite file only
-$(OBJ_DIR)/%.o: $(SRC_DIR)/%.c
+$(OBJ_DIR)/%.o: $(SRC_DIR)/%.c include/celeritas.h
@mkdir -p $(OBJ_DIR)
$(CC) $(CFLAGS) -c $< -o $@