diff options
author | sijanec <anton@sijanec.eu> | 2021-04-03 23:15:48 +0200 |
---|---|---|
committer | sijanec <anton@sijanec.eu> | 2021-04-03 23:15:48 +0200 |
commit | bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4 (patch) | |
tree | f9960c7a43f7c0e1da6cb8e8656fcbda2129677a /Makefile | |
parent | initial commit (diff) | |
download | sear.c-bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4.tar sear.c-bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4.tar.gz sear.c-bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4.tar.bz2 sear.c-bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4.tar.lz sear.c-bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4.tar.xz sear.c-bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4.tar.zst sear.c-bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4.zip |
Diffstat (limited to 'Makefile')
-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 |