diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-10-18 17:54:31 +1100 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-10-18 17:54:31 +1100 |
commit | 28bd234a45995b62544e6b5f70d40dfe39ef2e99 (patch) | |
tree | 1aca5cd820091e6b9652ee7d104b9b337343e0fb /Makefile | |
parent | 68f590c848e0e91d70e7116655464f392ed6df46 (diff) |
recompile .o files when header changes
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 $@ |