aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2025-11-29 05:02:41 +0100
committerarf20 <aruizfernandez05@gmail.com>2025-11-29 05:02:41 +0100
commit8871f7b50bc6fef814254c85b851e05d638e66be (patch)
tree433776dc7b670b0e20b8f26516d36767f3a67f36 /Makefile
downloadarfnet2-search-8871f7b50bc6fef814254c85b851e05d638e66be.tar.gz
arfnet2-search-8871f7b50bc6fef814254c85b851e05d638e66be.zip
initial commit
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..aba1197
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+CC = gcc
+CFLAGS = -g -Wall -pedantic
+LDFLAGS = -lmicrohttpd
+
+BIN = search
+SRC = main.c config.c
+
+$(BIN): $(SRC)
+ $(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS)
+
+.PHONY: clean
+clean:
+ rm $(BIN)
+