summaryrefslogtreecommitdiff
path: root/Makefile
blob: f4c0395e59b5f972f69112f05295ec41beab57e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
all: fcgiwrap
install: all
	[ -f /usr/local/bin/fcgiwrap ] && mv /usr/local/bin/fcgiwrap /usr/local/bin/fcgiwrap~
	cp fcgiwrap /usr/local/bin
	rm /usr/local/bin/fcgiwrap~

fcgiwrap: fcgiwrap.c
	gcc -std=gnu99 -Wall -Wextra -Werror -pedantic -O2 -g3 fcgiwrap.c -o fcgiwrap -lfcgi

clean:
	-rm fcgiwrap