#This file name is makefile #you can use this for compiling the test program #get the helist.c file, and the rantest.c file, and the heap.h file and put them in a directory. #then you can type make. Make sure that you have the file name correct. #this file will compile all of it, and then it will produce the executable file rantest ALL=rantest CC=gcc all:$(ALL) rantest:rantest.o helist.o $(CC) rantest.o helist.o -o rantest rantest.o:rantest.c heap.h $(CC) -c rantest.c helist.o:helist.c heap.h $(CC) -c helist.c