aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/sam/mkfile (renamed from src/cmd/sam/Makefile)7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/cmd/sam/Makefile b/src/cmd/sam/mkfile
index cb552352..280edee1 100644
--- a/src/cmd/sam/Makefile
+++ b/src/cmd/sam/mkfile
@@ -1,5 +1,5 @@
PLAN9=../../..
-include $(PLAN9)/src/Makehdr
+<$PLAN9/src/mkhdr
TARG=sam
OFILES=sam.$O\
@@ -28,7 +28,6 @@ HFILES=sam.h\
errors.h\
mesg.h\
-LDFLAGS+=-l9 -lfmt -lutf
-
-include $(PLAN9)/src/Makeone
+LDFLAGS=$LDFLAGS -l9 -lfmt -lutf
+<$PLAN9/src/mkone