aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/Makefile
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-10-01 00:44:50 +0000
committerrsc <devnull@localhost>2003-10-01 00:44:50 +0000
commite767dd493091d95e9fed07c927d7ececd93b47ca (patch)
tree5c53ff2d22ef6237eaa8611cdbbea5da475e9d75 /src/libthread/Makefile
parentb350297447082c5cac9e992e9b1439403f83c2bb (diff)
downloadplan9port-e767dd493091d95e9fed07c927d7ececd93b47ca.tar.gz
plan9port-e767dd493091d95e9fed07c927d7ececd93b47ca.tar.bz2
plan9port-e767dd493091d95e9fed07c927d7ececd93b47ca.zip
Add extra build targets.
Diffstat (limited to 'src/libthread/Makefile')
-rw-r--r--src/libthread/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/libthread/Makefile b/src/libthread/Makefile
index cf988794..4bd8102b 100644
--- a/src/libthread/Makefile
+++ b/src/libthread/Makefile
@@ -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