Skip to content

Commit

Permalink
Makefile: ensure miniaudio_engine recompiles on miniaudio.h change
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
  • Loading branch information
tycho committed Jan 9, 2024
1 parent b08e05e commit 8dd8320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ $(OBJ_DIR)/$(LIB): $(OBJECTS) | $$(@D)/.
$(QUIET_AR)$(AR) $(ARFLAGS) $@ $^
$(QUIET_RANLIB)$(RANLIB) $@

miniaudio_engine.c: miniaudio.h
$(OBJ_DIR)/miniaudio_engine.o: miniaudio.h

$(OBJ_DIR)/%.o: %.c $(OBJ_DIR)/.cflags | $$(@D)/.
$(QUIET_CC)$(CC) $(CFLAGS) -o $@ -c $<
Expand Down

0 comments on commit 8dd8320

Please sign in to comment.