Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/sys/src/ape/cmd/bio/MrBayes_2.01/Makefile.unix

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


LIBS     =   -lm

CFLAGS   =  -static -O4 

CC       =   gcc

OBJECTS  =   mcmc.o bayes.o command.o complex.o gamma.o linalg.o matrices.o

PROGS    = mb 

all:		$(PROGS)

mb:		$(OBJECTS)
		$(CC) $(CFLAGS) $(OBJECTS) $(LIBS) -o mb 

mcmc.o:		mcmc.c
		$(CC) $(CFLAGS) -c mcmc.c
		
bayes.o:	bayes.c
		$(CC) $(CFLAGS) -c bayes.c

command.o:	command.c
		$(CC) $(CFLAGS) -c command.c
	
complex.o:	complex.c
		$(CC) $(CFLAGS) -c complex.c
		
gamma.o:	gamma.c
		$(CC) $(CFLAGS) -c gamma.c
		
linalg.o:	linalg.c
		$(CC) $(CFLAGS) -c linalg.c
		
matrices.o:	matrices.c
		$(CC) $(CFLAGS) -c matrices.c
	
clean:		
		rm -f *.o

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.