aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2025-10-20 22:10:00 +0200
committerarf20 <aruizfernandez05@gmail.com>2025-10-20 22:10:00 +0200
commit43be0d7be77ee5829058c5704a76db0765fe19c8 (patch)
tree3d8fbcb798a18b22f7a35b7c3c05ec56ef69d1e3 /Makefile
parentd3895a2203d6ff2965c8c6d4ff4314a690ae7767 (diff)
downloadarfnet2-status-43be0d7be77ee5829058c5704a76db0765fe19c8.tar.gz
arfnet2-status-43be0d7be77ee5829058c5704a76db0765fe19c8.zip
C webapp
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
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)
+