]> git.sesse.net Git - vlc/commitdiff
Fix core deps again
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 5 Nov 2006 15:46:26 +0000 (15:46 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 5 Nov 2006 15:46:26 +0000 (15:46 +0000)
Makefile.am

index 649892c4e7924bbaf809b96f1a24cf31f0167719..9629cc13e591100fb87a50ed862ad05983e445ac 100644 (file)
@@ -303,14 +303,14 @@ endif
 # Shortcut for developpers to rebuild the core (libvlc + vlc)
 # Don't use it if you don't know what it is about.
 # Don't complain if it doesn't work. -- Courmisch
-core:
-       $(MAKE) $(AM_MAKEFLAGS) src/$(LIB_libvlc)
-       $(MAKE) $(AM_MAKEFLAGS) vlc$(EXEEXT)
+libvlc:
+       cd src && $(MAKE) $(AM_MAKEFLAGS) $(LIB_libvlc)
 
-.PHONY: core
+core: libvlc vlc$(EXEEXT)
 
-src/$(LIB_libvlc):
-       cd src && $(MAKE) $(AM_MAKEFLAGS) $(LIB_libvlc)
+.PHONY: libvlc core
+
+src/$(LIB_libvlc): libvlc
 
 vlc$(EXEEXT): $(vlc_OBJECTS) $(DEPENDENCIES_vlc)
        @rm -f vlc$(EXEEXT)