| 9SRC=.. |
| include $(9SRC)/Makehdr |
| |
| LIB=libthread.a |
| |
| OFILES=\ |
| $(OBJTYPE).$O\ |
| asm-$(SYSNAME)-$(OBJTYPE).$O\ |
| channel.$O\ |
| chanprint.$O\ |
| create.$O\ |
| debug.$O\ |
| exec-unix.$O\ |
| exit.$O\ |
| getpid.$O\ |
| id.$O\ |
| iocall.$O\ |
| ioclose.$O\ |
| ioopen.$O\ |
| ioproc.$O\ |
| ioread.$O\ |
| ioreadn.$O\ |
| iowrite.$O\ |
| kill.$O\ |
| lib.$O\ |
| main.$O\ |
| memset.$O\ |
| memsetd.$O\ |
| note.$O\ |
| proctab.$O\ |
| ref.$O\ |
| rendez.$O\ |
| sched.$O\ |
| |
| HFILES=\ |
| $(9SRC)/include/thread.h\ |
| label.h\ |
| threadimpl.h\ |
| |
| include $(9SRC)/Makesyslib |
| |
| tprimes: tprimes.$O |
| $(CC) -o tprimes tprimes.$O -L$(9SRC)/lib -lthread -l9 -lfmt -lutf |
| |
| texec: $(LIB) texec.$O |
| $(CC) -o texec texec.$O -L$(9SRC)/lib -lthread -l9 -lfmt -lutf |
| |
| CLEANFILES+=tprimes texec |
| |