[MN-dev] [mndiff]: r110 - trunk/noe/Makefile

michael subversion at mplayerhq.hu
Wed Oct 22 20:57:06 CEST 2008


Author: michael
Date: Wed Oct 22 20:57:05 2008
New Revision: 110

Log:
install target


Modified:
   trunk/noe/Makefile

Modified: trunk/noe/Makefile
==============================================================================
--- trunk/noe/Makefile	(original)
+++ trunk/noe/Makefile	Wed Oct 22 20:57:05 2008
@@ -1,7 +1,10 @@
 LIBOBJS = galois.o rs.o
 OBJS = rw.o filerw.o noe.o
+LIBS           = libnoe_100.a libnoe_101.a libnoe_10001.a
+PUBLIC_HEADERS = rs.h galois.h
 LIBSRCS = $(LIBOBJS:.o=.c) $(ASM_LIBOBJS:.o=.s)
 SRCS = $(OBJS:.o=.c)
+INSTALL_BASE   = /usr/local
 
 CFLAGS  = -g -Wall -O4 $(OPTFLAGS) -I. $(EXTRA_INC)
 
@@ -44,3 +47,8 @@ dep:	depend
 
 depend:
 	$(CC) -MM $(CFLAGS) $(LIBSRCS) $(SRCS) 1>.depend
+
+install: mina $(LIBS) $(PUBLIC_HEADERS)
+	install -m 755 mina 			$(INSTALL_BASE)/bin
+	install -m 644 $(LIBS)			$(INSTALL_BASE)/lib
+	install -m 644 $(PUBLIC_HEADERS)	$(INSTALL_BASE)/include



More information about the Mndiff-dev mailing list