Code to compute dynamic segregation based on random walks as in the paper "Diffusion segregation and the disproportionate incidence of COVID-19 in African American communities"
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
rw-segregation/mfpt/Makefile

18 lines
334 B

CC=gcc
CFLAGS=-O2 -Wall -pedantic
OBJS=adj.c adj_null.c com.c com_null.c adj1.c
all: adj adj_null com com_null
adj: adj_null
${CC} ${CFLAGS} -o adj adj.c -lm
adj_null: adj_null
${CC} ${CFLAGS} -o adj_null adj_null.c -lm
com: com
${CC} ${CFLAGS} -o com com.c -lm
com_null: com_null
${CC} ${CFLAGS} -o com_null com_null.c -lm