Ticket #12114: patch-Makefile

File patch-Makefile, 626 bytes (added by usami-k@…, 17 years ago)
Line 
1--- Makefile.orig       2005-01-19 11:46:10.000000000 +0900
2+++ Makefile    2007-05-16 03:24:50.000000000 +0900
3@@ -1,15 +1,15 @@
4 #Makefile for rmtrash
5 
6 CFLAGS=-O3 -g -Wall -Wno-four-char-constants -Wno-unknown-pragmas
7-LDFLAGS=-framework Foundation -arch ppc -prebind
8+LDFLAGS=-framework Foundation -prebind
9 CC=gcc
10 DESTDIR=/usr/local
11 
12 all: rmtrash
13 
14 install:
15-       install -s -o root -g wheel -m 755 rmtrash ${DESTDIR}/bin
16-       install -o root -g wheel -m 644 rmtrash.1 ${DESTDIR}/man/man1
17+       install -s -m 755 rmtrash ${DESTDIR}/bin
18+       install -m 644 rmtrash.1 ${DESTDIR}/share/man/man1
19 
20 uninstall:
21        /bin/rm ${DESTDIR}/bin/rmtrash