summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-07-06 19:28:13 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2022-07-06 19:28:13 +0200
commit3017f704d92190967815066ae686354fd5bf4edc (patch)
treeb3c14a2d57bc3f696dea72b233e6ceb65cec7316 /Makefile
parent0.0.22 (diff)
downloadsear.c-3017f704d92190967815066ae686354fd5bf4edc.tar
sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.gz
sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.bz2
sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.lz
sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.xz
sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.zst
sear.c-3017f704d92190967815066ae686354fd5bf4edc.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f72022e..f232335 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,7 @@ default:
echo ', 0' >> tmp/osdd.xxd
xxd -i < src/css.css > tmp/css.xxd
echo ', 0' >> tmp/css.xxd
+ xxd -i < src/ico.ico > tmp/ico.xxd
$(CC) $(cflags) $(CFLAGS) $(SRCFILE) $(ldflags) $(LDFLAGS) -o$(BINFILE)
install:
@@ -32,9 +33,6 @@ distclean:
clean:
rm sear.c tmp -rf
-prepare:
- apt install libmicrohttpd-dev xxd build-essential libxml2-dev php-cli debmake debheler -y
-
test-http:
mkdir -p tmp
gcc -Wall -pedantic -g -Isrc -Itmp test/nanohttp.c $$(xml2-config --libs --cflags) -otmp/nanohttp
@@ -45,4 +43,4 @@ test-http-valgrind:
valgrind:
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=valgrind-out.txt ./sear.c
-.PHONY: valgrind test-http-valgrind test-http prepare clean distclean install default
+.PHONY: valgrind test-http-valgrind test-http clean distclean install default