From aad798d9df7417009fa4438aac61ac8e0e4ded36 Mon Sep 17 00:00:00 2001 From: radiohotline Date: Sat, 14 Mar 2026 16:20:47 +0300 Subject: first commit --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ddc169b --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +CC = tcc +CFLAGS = -Wall -g +#CC = gcc +#CFLAGS = -Wall -Wextra +LDFLAGS = +SRC = src +BIN = bin + +SRCS=$(wildcard $(SRC)/*.c) +BINS=$(SRCS:$(SRC)/%.c=%) + +all: $(BINS) + +%: $(SRC)/%.c + $(CC) $(CFLAGS) -o $(BIN)/$@ $< + +clean: + rm -r $(BIN)/* -- cgit v1.3