MADRE_HOME = ../..
include $(MADRE_HOME)/local.mk
LIBS = -L$(MADRE_HOME)/lib -lmadre $(LIBRARIES)
UTIL_DIR = $(MADRE_HOME)/src/util
INC_DIR =  $(MADRE_HOME)/include
COMPILE = $(COMPILER) -c -I$(INC_DIR)
LINK = $(LINKER)

exp4: exp4.o
	$(LINK) -o exp4 exp4.o $(LIBS)

exp4.o: exp4.c $(INC_DIR)/madre.h $(INC_DIR)/util.h
	$(COMPILE) exp4.c

run: exp4
	$(SHORT_RUN) 6 ./exp4 phBred 25 16

clean:
	rm -f *.o exp4 *~
