From eba8b972d2bc85b8fe6acff90505116da8e29abd Mon Sep 17 00:00:00 2001 From: Lieuwe Rooijakkers Date: Sat, 13 Jul 2024 18:16:24 +0200 Subject: Maakbestand --- Makefile | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) mode change 100644 => 120000 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile deleted file mode 100644 index e760b65..0000000 --- a/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -CC := gcc -CFLAGS := -Wall -Wextra -std=c11 -O2 -LDFLAGS := - -OBJDIR := obj -TARGET := drukkedoos - -SOURCES := $(shell find src -type f -name '*.c') -HEADERS := $(shell find src -type f -name '*.h') -OBJECTS := $(patsubst src/%.c,obj/%.o,$(SOURCES)) - -.PHONY: all clean - -all: $(TARGET) - -clean: - rm -rf $(OBJDIR) $(TARGET) - -$(TARGET): main.c $(OBJECTS) - $(CC) -o $@ $^ $(LDFLAGS) - -$(OBJECTS): obj/%.o: src/%.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< diff --git a/Makefile b/Makefile new file mode 120000 index 0000000..91eb110 --- /dev/null +++ b/Makefile @@ -0,0 +1 @@ +Maakbestand \ No newline at end of file -- cgit v1.2.3-70-g09d2