summaryrefslogtreecommitdiff
path: root/Makefile
blob: 90ee9469e2ea8574d99f4996212cf7b50a22f473 (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 -Wall -Wextra -Werror -pedantic -O2 -g3 fcgiwrap.c -o fcgiwrap -lfcgi

clean:
	-rm fcgiwrap