[matroska] r1105 - trunk/libmatroska/make/linux

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: mosu
Date: 2005-03-19 13:36:47 +0300 (Sat, 19 Mar 2005)
New Revision: 1105

Modified:
   trunk/libmatroska/make/linux/Makefile
Log:
'clean' should remove the .los, too. Provide separate targets for the static and the shared lib. 'lib' is obsolete.

Modified: trunk/libmatroska/make/linux/Makefile
===================================================================
--- trunk/libmatroska/make/linux/Makefile	2005-03-19 10:33:10 UTC (rev 1104)
+++ trunk/libmatroska/make/linux/Makefile	2005-03-19 10:36:47 UTC (rev 1105)
@@ -76,10 +76,16 @@
 LINKFLAGS=-L. -L$(LIBEBML_LIB_DIR) $(LDFLAGS)
 DEPENDFLAGS  = $(CXXFLAGS) $(INCLUDE)
 
-all: $(LIBRARY) $(LIBRARY_SO)
+all: staticlib sharedlib
 
-lib library: $(LIBRARY) $(LIBRARY_SO)
+staticlib: $(LIBRARY)
 
+sharedlib: $(LIBRARY_SO)
+
+lib:
+	@echo "Use the 'staticlib', 'sharedlib' or 'all' targets."
+	@false
+
 # Build rules
 %.o: %$(EXTENSION)
 	$(CXX) -c $(COMPILEFLAGS) -o $@ $<
@@ -96,7 +102,7 @@
 	ln -s $(LIBRARY_SO_VER) $(LIBRARY_SO)
 
 clean:	cleantest
-	rm -f $(objects)
+	rm -f $(objects) $(objects_so)
 	rm -f $(LIBRARY)
 	rm -f $(LIBRARY_SO)
 	rm -f $(LIBRARY_SO_VER)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.