Skip to content

Commit

Permalink
remove includes
Browse files Browse the repository at this point in the history
  • Loading branch information
goblinhack committed Jan 25, 2024
1 parent af58850 commit 81e2bf3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ LDLIBS="$LDLIBS -lSDL2_mixer"
#
# Common config file
#
CONFIG_H=src/cfg.hpp
CONFIG_H=src/inc/cfg.hpp
echo "#include \"my_cfg.hpp\"" > $CONFIG_H
C_FLAGS+=" -Iinc -I../inc/ -include cfg.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $(BUILD_DIR): ; mkdir -p $(BUILD_DIR)
$(OBJECTS): | $(BUILD_DIR)

$(BUILD_DIR)/%.o: %.cpp
$(CC) $(CFLAGS) $(DEP_FLAGS) -I ../../src -c -o $@ $<
$(CC) $(CFLAGS) $(DEP_FLAGS) -c -o $@ $<

$(BUILD_DIR)/%.o: %.S
$(CC) $(DEP_FLAGS) -c -o $@ $<
Expand Down
2 changes: 1 addition & 1 deletion src/gfx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $(BUILD_DIR): ; mkdir -p $(BUILD_DIR)
$(OBJECTS): | $(BUILD_DIR)

$(BUILD_DIR)/%.o: %.cpp
$(CC) $(CFLAGS) $(DEP_FLAGS) -I ../../src -c -o $@ $<
$(CC) $(CFLAGS) $(DEP_FLAGS) -c -o $@ $<

$(BUILD_DIR)/%.o: %.S
$(CC) $(DEP_FLAGS) -c -o $@ $<
Expand Down
2 changes: 1 addition & 1 deletion src/things/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $(OBJECTS): | $(BUILD_DIR) \
$(BUILD_DIR)/player

$(BUILD_DIR)/%.o: %.cpp
$(CC) $(CFLAGS) $(DEP_FLAGS) -I ../../src -c -o $@ $<
$(CC) $(CFLAGS) $(DEP_FLAGS) -c -o $@ $<

$(BUILD_DIR)/%.o: %.S
$(CC) $(DEP_FLAGS) -c -o $@ $<
Expand Down
2 changes: 1 addition & 1 deletion src/wid/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $(BUILD_DIR): ; mkdir -p $(BUILD_DIR)
$(OBJECTS): | $(BUILD_DIR)

$(BUILD_DIR)/%.o: %.cpp
$(CC) $(CFLAGS) $(DEP_FLAGS) -I ../../src -c -o $@ $<
$(CC) $(CFLAGS) $(DEP_FLAGS) -c -o $@ $<

$(BUILD_DIR)/%.o: %.S
$(CC) $(DEP_FLAGS) -c -o $@ $<
Expand Down

0 comments on commit 81e2bf3

Please sign in to comment.