summarylogtreecommitdiffstats
path: root/ptext_fix_makefile_flags.patch
blob: bbf92ebd7663ac38554b014cd1179e7d84f94e98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/Makefile
+++ b/Makefile
@@ -11,8 +11,7 @@
 DEPS := $(OBJS:.o=.d)
 INC_DIRS := $(shell find $(SRC_DIRS) -type d)
 INC_FLAGS := $(addprefix -I,$(INC_DIRS))
-CFLAGS := $(INC_FLAGS) -MMD -MP -Wall -g -Wextra -pedantic -std=c99
-LDFLAGS := 
+CFLAGS := $(CFLAGS) $(INC_FLAGS) -MMD -MP -Wall -g -Wextra -pedantic -std=c99
 
 $(BUILD_DIR)/$(TARGET_EXEC): $(OBJS)
 	$(CC) $(OBJS) -o $@ $(LDFLAGS)