diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | extern/include/cJSON.h (renamed from include/cJSON.h) | 0 |
2 files changed, 3 insertions, 2 deletions
@@ -1,10 +1,11 @@ CC = gcc CFLAGS = -std=gnu99 -O3 -g -Wall -Wextra -Wpedantic -masm=intel -CFLAGS += -Iinclude -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L +CFLAGS += -Iinclude -Iextern/include +CFLAGS += -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L CFLAGS += -Wno-unused-result LDFLAGS = -Tlinker.ld -no-pie -g -lcurl -SRC = $(wildcard *.c **/*.c) +SRC = $(wildcard *.c **/*.c **/**/*.c) OBJ = $(SRC:.c=.o) .PHONY: all clean diff --git a/include/cJSON.h b/extern/include/cJSON.h index 2628d76..2628d76 100644 --- a/include/cJSON.h +++ b/extern/include/cJSON.h |