summaryrefslogtreecommitdiff
path: root/myrbuild
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-10-05 18:18:19 -0400
committerOri Bernstein <ori@eigenstate.org>2014-10-05 18:18:19 -0400
commitb8e1d4c0252943545bbcde039cc227401b8c03ab (patch)
treeed14ab8997a7d7bee3cadbe91f3d05bfb2b0da94 /myrbuild
parent97540583eefeed60052f9831d68e7eb7bbbe8906 (diff)
downloadmc-b8e1d4c0252943545bbcde039cc227401b8c03ab.tar.gz
Add plan9 mkfiles and runtime.
Diffstat (limited to 'myrbuild')
-rw-r--r--myrbuild/mkfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/myrbuild/mkfile b/myrbuild/mkfile
new file mode 100644
index 0000000..e373665
--- /dev/null
+++ b/myrbuild/mkfile
@@ -0,0 +1,10 @@
+</$objtype/mkfile
+CC=pcc
+CFLAGS=-c -D_POSIX_SOURCE -D_SUSV2_SOURCE -D_C99_SNPRINTF_EXTENSION -I../parse -I../opt
+LDFLAGS=-L../parse -lparse -L../opt -lopt
+
+TARG=myrbuild
+OFILES=myrbuild.$O
+LIB=../parse/libparse.a ../opt/libopt.a
+
+</sys/src/cmd/mkone \ No newline at end of file