diff Makefile @ 139:5eab7c73a28a

Add PT3 driver
author Naoya OYAMA <naoya.oyama@gmail.com>
date Sat, 28 Jul 2012 16:05:28 +0900
parents 4f6d9621ee00
children
line wrap: on
line diff
--- a/Makefile	Mon Jul 02 20:19:00 2012 +0900
+++ b/Makefile	Sat Jul 28 16:05:28 2012 +0900
@@ -7,10 +7,9 @@
 
 EXTRADIST = configure \
 
-EXTRALIBS = libupnp-1.6.6 \
-	libdlna-0.2.3 \
-
 SUBDIRS = src \
+          driver \
+          pt3 \
 
 all:
 	for subdir in $(SUBDIRS); do \
@@ -21,19 +20,11 @@
 	for subdir in $(SUBDIRS); do \
 	  $(MAKE) -C $$subdir $@; \
 	done
-	for subdir in $(EXTRALIBS); do \
-	  $(MAKE) uninstall; \
-	  $(MAKE) -C $$subdir $@; \
-	done
 
 distclean: clean
 	for subdir in $(SUBDIRS); do \
 	  $(MAKE) -C $$subdir $@; \
 	done
-	for subdir in $(EXTRALIBS); do \
-	  $(MAKE) uninstall; \
-	  $(MAKE) -C $$subdir $@; \
-	done
 	-$(RM) -f config.log
 	-$(RM) -f config.mak
 	-$(RM) -f config.h
@@ -46,6 +37,9 @@
 
 .PHONY: clean distclean install
 
+uninstall:
+	echo a > /dev/null
+
 dist:
 	-$(RM) $(DISTFILE)
 	dist=$(shell pwd)/recpt1-$(VERSION) && \