[xiph-commits] r10801 - experimental/giles/rogg

giles at svn.xiph.org giles at svn.xiph.org
Sun Feb 12 00:16:08 PST 2006


Author: giles
Date: 2006-02-12 00:16:08 -0800 (Sun, 12 Feb 2006)
New Revision: 10801

Added:
   experimental/giles/rogg/Makefile
Log:
Add a basic makefile.


Added: experimental/giles/rogg/Makefile
===================================================================
--- experimental/giles/rogg/Makefile	2006-02-12 08:15:47 UTC (rev 10800)
+++ experimental/giles/rogg/Makefile	2006-02-12 08:16:08 UTC (rev 10801)
@@ -0,0 +1,25 @@
+# simple Makefile for rogg and related utilities
+
+OPTS = -g -O2 -Wall
+
+rogg_UTILS = rogg_pagedump rogg_eosfix
+
+all : librogg.a $(rogg_UTILS)
+
+librogg.a : rogg.o
+	$(AR) cr $@ $^
+	ranlib $@
+
+rogg_eosfix : rogg_eosfix.o librogg.a
+	$(CC) $(CFLAGS) -o $@ $^
+
+rogg_pagedump : rogg_pagedump.o librogg.a
+	$(CC) $(CFLAGS) -o $@ $^
+
+clean :
+	-rm -f $(rogg_UTILS)
+	-rm -f librogg.a
+	-rm -f *.o
+
+.c.o :
+	$(CC) $(OPTS) $(CFLAGS) -I. -c $<



More information about the commits mailing list