tAdd extra build targets. - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit e767dd493091d95e9fed07c927d7ececd93b47ca
DIR parent b350297447082c5cac9e992e9b1439403f83c2bb
HTML Author: rsc <devnull@localhost>
Date: Wed, 1 Oct 2003 00:44:50 +0000
Add extra build targets.
Diffstat:
M src/libthread/Makefile | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
---
DIR diff --git a/src/libthread/Makefile b/src/libthread/Makefile
t@@ -39,11 +39,14 @@ HFILES=\
include $(9SRC)/Makesyslib
-tprimes: tprimes.$O
- $(CC) -o tprimes tprimes.$O -L$(9SRC)/lib -lthread -l9 -lfmt -lutf
+tprimes: tprimes.$O $(9SRC)/lib/$(LIB)
+ $(LD) -o tprimes tprimes.$O $(LDFLAGS) -lthread -l9 -lfmt -lutf
-texec: $(LIB) texec.$O
- $(CC) -o texec texec.$O -L$(9SRC)/lib -lthread -l9 -lfmt -lutf
+texec: texec.$O $(9SRC)/lib/$(LIB)
+ $(LD) -o texec texec.$O $(LDFLAGS) -lthread -l9 -lfmt -lutf
+
+trend: trend.$O $(9SRC)/lib/$(LIB)
+ $(LD) -o trend trend.$O $(LDFLAGS) -lthread -l9 -lfmt -lutf
CLEANFILES+=tprimes texec