27 lines
866 B
Plaintext
27 lines
866 B
Plaintext
$OpenBSD: patch-Makefile,v 1.3 2001/11/13 08:20:37 shell Exp $
|
|
--- Makefile.orig Mon Jul 9 02:54:24 2001
|
|
+++ Makefile Mon Jul 9 02:55:51 2001
|
|
@@ -1,5 +1,6 @@
|
|
|
|
-CC=gcc
|
|
+CC+= ${CFLAGS}
|
|
+BINDIR= ${PREFIX}/bin
|
|
|
|
default:
|
|
$(CC) -c conditionals.c -Wall
|
|
@@ -44,10 +45,10 @@
|
|
$(CC) -o unipiss unipiss.c html.o general.o -Wall
|
|
|
|
install:
|
|
- @if [ -e asp2php ]; then install asp2php /usr/local/bin; fi;
|
|
- @if [ -e unipiss ]; then install unipiss /usr/local/bin; fi;
|
|
- @if [ -e gtkasp2php ]; then install gtkasp2php /usr/local/bin; fi;
|
|
- @echo "Compiled programs have been installed in /usr/local/bin"
|
|
+ @if [ -e asp2php ]; then install asp2php ${BINDIR}; fi;
|
|
+ @if [ -e unipiss ]; then install unipiss ${BINDIR}; fi;
|
|
+ @if [ -e gtkasp2php ]; then install gtkasp2php ${BINDIR}; fi;
|
|
+ @echo "Compiled programs have been installed in ${BINDIR}"
|
|
@echo ""
|
|
|
|
all: default
|