From d11440309c97c02a9ab70d6b9367cbfdac53a211 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 31 Mar 2024 17:21:58 +0200 Subject: Remove Makefile --- Makefile | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 Makefile 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 -- cgit v1.2.3