Rename inc -> include for sake of convention

tight-png
Andri Yngvason 2019-09-14 16:07:34 +00:00
parent 578ee75235
commit b0fb22bdd6
10 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ endif
CFLAGS ?= -g -O3 $(ARCH_CFLAGS) -flto -DNDEBUG CFLAGS ?= -g -O3 $(ARCH_CFLAGS) -flto -DNDEBUG
LDFLAGS ?= -flto LDFLAGS ?= -flto
CFLAGS += -std=gnu11 -D_GNU_SOURCE -Iinc CFLAGS += -std=gnu11 -D_GNU_SOURCE -Iinclude
CC_OBJ = $(CC) -c $(CFLAGS) $< -o $@ -MMD -MP -MF $(@:.o=.deps) CC_OBJ = $(CC) -c $(CFLAGS) $< -o $@ -MMD -MP -MF $(@:.o=.deps)
LINK_EXE = $(CC) $^ $(LDFLAGS) -o $@ LINK_EXE = $(CC) $^ $(LDFLAGS) -o $@

View File

@ -17,8 +17,8 @@ $(BUILD_DIR)/png-server: $(BUILD_DIR)/png-server.o $(BUILD_DIR)/pngfb.o
$(BUILD_DIR)/draw: $(BUILD_DIR)/draw.o ; $(LINK_EXE) $(BUILD_DIR)/draw: $(BUILD_DIR)/draw.o ; $(LINK_EXE)
$(BUILD_DIR)/%.o: %.c | $(BUILD_DIR) ; $(CC_OBJ) -I../inc $(BUILD_DIR)/%.o: %.c | $(BUILD_DIR) ; $(CC_OBJ) -I../include
$(BUILD_DIR)/pngfb.o: ../src/pngfb.c | $(BUILD_DIR) $(BUILD_DIR)/pngfb.o: ../src/pngfb.c | $(BUILD_DIR)
$(CC_OBJ) -I../inc $(CC_OBJ) -I../include