From 30c399dbc542f7b4d983e196d7c5eafd5f8bffa0 Mon Sep 17 00:00:00 2001 From: Grzegorz Nosek Date: Sun, 30 Sep 2007 17:56:59 +0200 Subject: Mostly rewritten for robustness and prettier code --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ac01a8b..90ee946 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,11 @@ all: fcgiwrap -go: all - ../../bin/spawn-fcgi -u admin -f ./fcgiwrap -a 172.16.0.2 -p 14017 +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 -Werror -pedantic -O2 -g fcgiwrap.c -o fcgiwrap -lfcgi + gcc -Wall -Wextra -Werror -pedantic -O2 -g3 fcgiwrap.c -o fcgiwrap -lfcgi clean: -rm fcgiwrap -- cgit v1.2.3