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 May 11, 2023
1 parent f2cf5bd commit ee6d73e
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 ee6d73e

Please sign in to comment.