# use this makefile when you're doing things the right # way, omitting the path name in the source file's # include statements, and using the -I compiler option LIB = /home/rscheidt/rjslib/ INC = /home/rscheidt/rjslib/ poker: poker.o gcc poker.o $(LIB)io.o $(LIB)rmath.o $(LIB)array.o $(LIB)str.o -o poker poker.o: poker.c gcc -I $(INC) -c poker.c