diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |