shithub: mc

Download patch

ref: c14a1933ebaaa54b31455f0fa469151362bb5458
parent: cd67e508b96cf787ad5a7910dfb717584f718102
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