summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
l---------[-rw-r--r--]Makefile24
1 files changed, 1 insertions, 23 deletions
diff --git a/Makefile b/Makefile
index e760b65..91eb110 100644..120000
--- a/Makefile
+++ b/Makefile
@@ -1,23 +1 @@
-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 $@ $<
+Maakbestand \ No newline at end of file