aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5cc289e..58059c6 100644
--- a/Makefile
+++ b/Makefile
@@ -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