# Makefile for using our small random numbers library
# ===================================================
# to compile my_prog.C, type make my_prog
# directory where you installed the library
RANDOM_DIR = ${HOME}/librandom
# include path
IPATH = -I${RANDOM_DIR}/include
# lib path
LDPATH = -L${RANDOM_DIR}/lib
# libs
LIBS = -lrandom
# make targets
%: %.C
g++ ${IPATH} ${LDPATH} $*.C ${LIBS} -o $*