ref: 34d81421448c9d635f1eff93d7c51805f091e4ce
parent: 0aa78af458fa7259feb143d87ed2798d6dd5c59c
author: Ori Bernstein <[email protected]>
date: Sun Dec 21 16:41:27 EST 2014
Neither muse nor myrbuild should depend on libmi.a Plus, we weree't even pointing at the right libs.
--- a/muse/mkfile
+++ b/muse/mkfile
@@ -1,10 +1,12 @@
</$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
+CFLAGS=-c -D_POSIX_SOURCE -D_SUSV2_SOURCE -D_C99_SNPRINTF_EXTENSION -I../parse -I../
+LDFLAGS=-L../parse -lparse
TARG=muse
-OFILES=muse.$O
-LIB=../parse/libparse.a ../opt/libopt.a
+OFILES=\
+ muse.$O\
+
+LIB=../parse/libparse.a
</sys/src/cmd/mkone
--- a/myrbuild/mkfile
+++ b/myrbuild/mkfile
@@ -1,10 +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
+CFLAGS=-c -D_POSIX_SOURCE -D_SUSV2_SOURCE -D_C99_SNPRINTF_EXTENSION -I../parse
+LDFLAGS=-L../parse -lparse
TARG=myrbuild
OFILES=myrbuild.$O
-LIB=../parse/libparse.a ../opt/libopt.a
+LIB=../parse/libparse.a
</sys/src/cmd/mkone