Rename inc -> include for sake of convention
parent
578ee75235
commit
b0fb22bdd6
|
@ -27,7 +27,7 @@ endif
|
|||
CFLAGS ?= -g -O3 $(ARCH_CFLAGS) -flto -DNDEBUG
|
||||
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)
|
||||
LINK_EXE = $(CC) $^ $(LDFLAGS) -o $@
|
||||
|
|
|
@ -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)/%.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)
|
||||
$(CC_OBJ) -I../inc
|
||||
$(CC_OBJ) -I../include
|
||||
|
||||
|
|
Loading…
Reference in New Issue