summaryrefslogtreecommitdiff
path: root/harness/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'harness/Makefile')
-rw-r--r--harness/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/harness/Makefile b/harness/Makefile
index e0cdb9a..d2331c4 100644
--- a/harness/Makefile
+++ b/harness/Makefile
@@ -15,16 +15,21 @@ $(PROGS): %.p: %.t $(HARNESS_SRCS)
clean:
rm -f $(PROGS) *.o runtests.out rofile wofile rwfile
-rofile:
- touch $@
+.PHONY:
+
+rofile: .PHONY
+ rm -f $@
+ echo "test" >$@
chmod 400 $@
-wofile:
- touch $@
+wofile: .PHONY
+ rm -f $@
+ echo "test" >$@
chmod 200 $@
-rwfile:
- touch $@
+rwfile: .PHONY
+ rm -f $@
+ echo "test" >$@
chmod 600 $@
check: $(PROGS) rofile rwfile wofile