From 43be0d7be77ee5829058c5704a76db0765fe19c8 Mon Sep 17 00:00:00 2001 From: arf20 Date: Mon, 20 Oct 2025 22:10:00 +0200 Subject: C webapp --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bc05321 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +CC = gcc +CFLAGS = -g -Wall -pedantic +LDFLAGS = -lmicrohttpd + +BIN = monitor +SRC = main.c monitor.c + +$(BIN): $(SRC) + $(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS) + +.PHONY: clean +clean: + rm $(BIN) + -- cgit v1.2.3