From bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4 Mon Sep 17 00:00:00 2001 From: sijanec Date: Sat, 3 Apr 2021 23:15:48 +0200 Subject: initial release --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a5f5a31..5db1e09 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,9 @@ default: mkdir tmp -p xxd -i < src/hp.html > tmp/hp.xxd echo ', 0' >> tmp/hp.xxd - gcc -Wall -pedantic -g -Isrc -Itmp -pthread src/main.c $$(xml2-config --libs --cflags) -lmicrohttpd -osear.c + xxd -i < src/osdd.xml > tmp/osdd.xxd + echo ', 0' >> tmp/osdd.xxd + gcc -Wall -Wextra -pedantic -Wno-unused-parameter -g -Isrc -Itmp -pthread src/main.c $$(xml2-config --libs --cflags) -lmicrohttpd -osear.c install: mkdir -p $(DESTDIR)/usr/bin/ @@ -25,3 +27,6 @@ test-http: test-http-valgrind: valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=valgrind-out.txt tmp/nanohttp http://sijanec.eu/ + +valgrind: + valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=valgrind-out.txt ./sear.c -- cgit v1.2.3