# for Sun/Solaris, to create vit_C.mexsol from vit_C.c # and get_A_C.mexsol from get_A_C.c #DEBUG = -DDEBUG=2 # use 1 to get v, 2 to get lots of stuff printed DEBUG= #get_A_C_DEBUG = -DDEBUG=1 get_A_C_DEBUG = NAME = vit_C all: $(NAME).mexsol get_A_C.mexsol DEP = mexopts.sh Makefile $(NAME).mexsol: $(NAME).c $(DEP) mex -O $(DEBUG) $(NAME).c get_A_C.mexsol: get_A_C.c $(DEP) mex -O $(get_A_C_DEBUG) get_A_C.c clean: rm -f a.out core clobber: clean rm -f $(NAME).mexsol get_A_C.mexsol