aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-03-31 17:21:58 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-03-31 17:21:58 +0200
commitd11440309c97c02a9ab70d6b9367cbfdac53a211 (patch)
tree9370fd7fd2772a508bb81d61e2061be7c92045ea /Makefile
parent4a98202ddc139fde50009f2858a9a40743faaaa9 (diff)
Remove Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 0 insertions, 24 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index c55dda1..0000000
--- a/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-MAKEFLAGS = -j8
-srcs := $(shell find . -name '*.c')
-objs := $(srcs:.c=.o)
-
-UNAME_S := $(shell uname -s)
-ifeq ($(UNAME_S),Linux)
-CC = gcc
-CFLAGS = -std=c23 -Iinclude
-endif
-ifeq ($(UNAME_S),Darwin)
-CC = gcc-13
-CFLAGS = -std=c2x -Iinclude
-endif
-
-all: out
-out: $(objs)
- $(CC) $(CFLAGS) -o $@ $^
-%.o: %.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
-clean:
- rm -f $(objs)
-
-.PHONY: clean