aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 65d661400e6b40fe19e92bb6d5790493a124e769 (plain)
1
2
3
4
5
6
7
8
9
10
CFLAGS:=-O2
default:
	gcc $(CFLAGS) -o identifur xxHash/xxhash.c identifur.c -lbsd
fcgi: build-kcgi
	gcc $(CFLAGS) -I./kcgi -o identifurfcgi xxHash/xxhash.c identifurfcgi.c  kcgi/libkcgi.a -s
clean:
	rm -f identifurfcgi identifur
build-kcgi:
	cd kcgi;./configure;make -j$(shell nproc)
all: default fcgi