[Redbutton-devel] SF.net SVN: redbutton: [153]
Brought to you by:
skilvington
|
From: <ski...@us...> - 2006-11-07 16:49:29
|
Revision: 153
http://svn.sourceforge.net/redbutton/?rev=153&view=rev
Author: skilvington
Date: 2006-11-07 08:49:22 -0800 (Tue, 07 Nov 2006)
Log Message:
-----------
add install target to Makefiles
Modified Paths:
--------------
redbutton-browser/trunk/Makefile
redbutton-download/trunk/Makefile
Modified: redbutton-browser/trunk/Makefile
===================================================================
--- redbutton-browser/trunk/Makefile 2006-11-07 16:40:18 UTC (rev 152)
+++ redbutton-browser/trunk/Makefile 2006-11-07 16:49:22 UTC (rev 153)
@@ -3,6 +3,8 @@
# gprof profiling
#CFLAGS=-Wall -O2 -pg
+DESTDIR=/usr/local
+
DEFS=-D_REENTRANT -D_GNU_SOURCE
# safe_malloc debugging
#DEFS=-DDEBUG_ALLOC -D_REENTRANT -D_GNU_SOURCE
@@ -115,6 +117,10 @@
berdecode: berdecode.c
${CC} ${CFLAGS} ${DEFS} -o berdecode berdecode.c
+install: rb-browser rb-keymap
+ install -m 755 rb-browser ${DESTDIR}/bin
+ install -m 755 rb-keymap ${DESTDIR}/bin
+
clean:
rm -f rb-browser rb-keymap xsd2c dertest dertest-mheg.[ch] berdecode *.o ISO13522-MHEG-5.[ch] clone.[ch] rtti.h gmon.out core
Modified: redbutton-download/trunk/Makefile
===================================================================
--- redbutton-download/trunk/Makefile 2006-11-07 16:40:18 UTC (rev 152)
+++ redbutton-download/trunk/Makefile 2006-11-07 16:49:22 UTC (rev 153)
@@ -1,6 +1,8 @@
CC=gcc
CFLAGS=-Wall -O
+DESTDIR=/usr/local
+
OBJS= rb-download.o \
list.o \
findmheg.o \
@@ -26,6 +28,9 @@
.c.o:
${CC} ${CFLAGS} -c $<
+install: rb-download
+ install -m 755 rb-download ${DESTDIR}/bin
+
clean:
rm -f rb-download *.o core
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|