summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGrzegorz Nosek <root@localdomain.pl>2007-09-30 17:56:59 +0200
committerGrzegorz Nosek <root@localdomain.pl>2007-09-30 17:56:59 +0200
commit30c399dbc542f7b4d983e196d7c5eafd5f8bffa0 (patch)
tree595c8ef5bebaab3af64fbfa0f0fa2da48fdfedca /Makefile
parentf2755afbac8ee4439e0fef1ac6939e37652b8fc1 (diff)
downloadfcgiwrap-30c399dbc542f7b4d983e196d7c5eafd5f8bffa0.tar.xz
fcgiwrap-30c399dbc542f7b4d983e196d7c5eafd5f8bffa0.zip
Mostly rewritten for robustness and prettier code
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
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