diff options
author | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-23 00:02:27 +0200 |
---|---|---|
committer | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-23 00:02:27 +0200 |
commit | 93394b388f7cbec6640e361aa95c3b30ba2a90fc (patch) | |
tree | 40a30f58d39f01f3eaf9df9446b14edd9b09b534 /Maakbestand | |
parent | bd22d0e47d0fb203286b088f048cf1aff1fa93a1 (diff) |
global progname variable
Diffstat (limited to 'Maakbestand')
-rw-r--r-- | Maakbestand | 4 |
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)) |