summaryrefslogtreecommitdiffstats
path: root/www/multisort/files/patch-Makefile
blob: 991fd9abf4e590f2d78a87a0cde1d47c2f152655 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ./Makefile.orig	1999-10-28 21:04:24.000000000 +0200
+++ ./Makefile	2011-06-21 21:30:39.000000000 +0200
@@ -1,9 +1,10 @@
-#
-# $Id: Makefile,v 1.1 1999/01/14 19:05:35 xach Exp $
-#
-
-CC = gcc
+PREFIX?= /usr/local
+CC?= gcc
 CFLAGS = -Wall -g -O2
 
-multisort: multisort.c
+all:
 	$(CC) $(CFLAGS) -o multisort multisort.c
+
+install:
+	@mkdir -p ${DESTDIR}${PREFIX}/bin
+	install -m 755 multisort ${PREFIX}/bin
OpenPOWER on IntegriCloud