diff options
author | Grzegorz Nosek <root@localdomain.pl> | 2007-09-30 17:56:59 +0200 |
---|---|---|
committer | Grzegorz Nosek <root@localdomain.pl> | 2007-09-30 17:56:59 +0200 |
commit | 30c399dbc542f7b4d983e196d7c5eafd5f8bffa0 (patch) | |
tree | 595c8ef5bebaab3af64fbfa0f0fa2da48fdfedca /Makefile | |
parent | f2755afbac8ee4439e0fef1ac6939e37652b8fc1 (diff) | |
download | fcgiwrap-30c399dbc542f7b4d983e196d7c5eafd5f8bffa0.tar.xz fcgiwrap-30c399dbc542f7b4d983e196d7c5eafd5f8bffa0.zip |
Mostly rewritten for robustness and prettier code
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |