Add dummy file to ensure that lib/user is kept in CVS.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 20 Sep 2004 03:56:41 +0000 (03:56 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 20 Sep 2004 03:56:41 +0000 (03:56 +0000)
src/tests/userprog/Makefile
src/tests/userprog/lib/user/.dummy [new file with mode: 0644]

index 9af275f5b27c3afb8e3da85c738ffb6b512b457c..662938664d079be36d339958acde8ece5f914acf 100644 (file)
@@ -42,9 +42,12 @@ all: $(PROGS)
 
 define TEMPLATE
 $(1)_OBJ = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$($(1)_SRC)))
-$(1): $$($(1)_OBJ) $$(LIB)
+$(1): $$($(1)_OBJ) $$(LIB) | ./lib/user
 endef
 
+./lib/user:
+       $(MKDIR) -p lib/user
+
 $(foreach prog,$(PROGS),$(eval $(call TEMPLATE,$(prog))))
 
 $(PROGS): $(LIB)
diff --git a/src/tests/userprog/lib/user/.dummy b/src/tests/userprog/lib/user/.dummy
new file mode 100644 (file)
index 0000000..e69de29