diff --git a/examples/VFS/Makefile.in b/examples/VFS/Makefile.in index 9591186b3e0..bbb66be83b0 100644 --- a/examples/VFS/Makefile.in +++ b/examples/VFS/Makefile.in @@ -26,16 +26,24 @@ libdir = @libdir@ VFS_LIBDIR = $(libdir)/vfs -# Auto target -default: $(patsubst %.c,%.$(SHLIBEXT),$(wildcard *.c)) +all: skel_opaque.@SHLIBEXT@ shadow_copy_test.@SHLIBEXT@ \ + skel_transparent.@SHLIBEXT@ + +skel_opaque.@SHLIBEXT@: skel_opaque.@OBJEXT@ + @echo "Linking $@" + @$(CC) $(LDSHFLAGS) $(LDFLAGS) skel_opaque.@OBJEXT@ -o $@ + +shadow_copy_test.@SHLIBEXT@: shadow_copy_test.@OBJEXT@ + @echo "Linking $@" + @$(CC) $(LDSHFLAGS) $(LDFLAGS) shadow_copy_test.@OBJEXT@ -o $@ + +skel_transparent.@SHLIBEXT@: skel_transparent.@OBJEXT@ + @echo "Linking $@" + @$(CC) $(LDSHFLAGS) $(LDFLAGS) skel_transparent.@OBJEXT@ -o $@ # Pattern rules -%.$(SHLIBEXT): %.$(OBJEXT) - @echo "Linking $@" - @$(CC) $(LDSHFLAGS) $(LDFLAGS) -o $@ $< - -%.$(OBJEXT): %.c +.c.@OBJEXT@: @echo "Compiling $<" @$(CC) $(FLAGS) -c $<