summaryrefslogtreecommitdiff
path: root/examples/VFS
diff options
context:
space:
mode:
Diffstat (limited to 'examples/VFS')
-rw-r--r--examples/VFS/Makefile.in20
1 files changed, 14 insertions, 6 deletions
diff --git a/examples/VFS/Makefile.in b/examples/VFS/Makefile.in
index 9591186b3e..bbb66be83b 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@
-# Pattern rules
+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 $@
-%.$(SHLIBEXT): %.$(OBJEXT)
+skel_transparent.@SHLIBEXT@: skel_transparent.@OBJEXT@
@echo "Linking $@"
- @$(CC) $(LDSHFLAGS) $(LDFLAGS) -o $@ $<
+ @$(CC) $(LDSHFLAGS) $(LDFLAGS) skel_transparent.@OBJEXT@ -o $@
+
+# Pattern rules
-%.$(OBJEXT): %.c
+.c.@OBJEXT@:
@echo "Compiling $<"
@$(CC) $(FLAGS) -c $<