summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2021-10-05 16:10:31 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2021-10-05 16:10:31 +0200
commit4225b3ffd98f365dd8e73dd7f9e8b6a0054b5e2a (patch)
tree688c7ba72f3921576aaadc4abc2278b5a1d1b0aa /Makefile
parent0.0.15-1 (diff)
downloadsear.c-4225b3ffd98f365dd8e73dd7f9e8b6a0054b5e2a.tar
sear.c-4225b3ffd98f365dd8e73dd7f9e8b6a0054b5e2a.tar.gz
sear.c-4225b3ffd98f365dd8e73dd7f9e8b6a0054b5e2a.tar.bz2
sear.c-4225b3ffd98f365dd8e73dd7f9e8b6a0054b5e2a.tar.lz
sear.c-4225b3ffd98f365dd8e73dd7f9e8b6a0054b5e2a.tar.xz
sear.c-4225b3ffd98f365dd8e73dd7f9e8b6a0054b5e2a.tar.zst
sear.c-4225b3ffd98f365dd8e73dd7f9e8b6a0054b5e2a.zip
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bd7c26b..6db7b8c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
DESTDIR=/
-
+CC = cc
.NOTPARALLEL:
default:
mkdir tmp -p
@@ -9,7 +9,7 @@ default:
echo ', 0' >> tmp/hp.xxd
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 -lm -osear.c
+ $(CC) -Wall -Wextra -pedantic -Wno-unused-parameter -g -Isrc -Itmp -pthread src/main.c $$(xml2-config --libs --cflags) -lmicrohttpd -lm -osear.c
install:
mkdir -p $(DESTDIR)/usr/bin/