summaryrefslogtreecommitdiff
path: root/Maakbestand
diff options
context:
space:
mode:
Diffstat (limited to 'Maakbestand')
-rw-r--r--Maakbestand4
1 files changed, 2 insertions, 2 deletions
diff --git a/Maakbestand b/Maakbestand
index 70df156..c70332d 100644
--- a/Maakbestand
+++ b/Maakbestand
@@ -5,14 +5,14 @@ PREFIX ?= /usr
CC := gcc
CFLAGS := -Wall -Wextra -std=c2x -O2
CFLAGS += -D_GNU_SOURCE -DDRUKKEDOOS_VERSIE=\"$(VERSION)\"
-CFLAGS += -Isrc
+CFLAGS += -Isrc -I.
LDFLAGS :=
OBJDIR := obj
TARGET := drukkedoos
SOURCES := $(shell find src -type f -name '*.c')
-HEADERS := $(shell find src -type f -name '*.h')
+HEADERS := $(shell find . -type f -name '*.h')
OBJECTS := $(patsubst src/%.c,obj/%.o,$(SOURCES))
PROGNAMES := $(patsubst src/%.c,%,$(wildcard src/*.c))