# CS425 Imakefile F'2002 # for example smooth3d # # put source file names here separated by spaces # For example: SRCS = smooth3d.c test2.c scene.c # If you need to continue the line put a back slash at the end # For example # SRCS = smooth3d.c \ # test2.c \ # scene.c # SRCS= smooth3d.c # put object file names here separated by spaces OBJS = smooth3d.o # Uncomment the next line to use debugger # CDEBUGFLAGS = -g #Change the following line to the location of the glut shared library DEP = /usr/lib/libglut.so #Change the following line to the system location for X shared libraries SYS = -lX11 -lXm -lXext -lXi -lGL -lGLU -lm # put the run image names in this list that you want "make all" # to make. Separate by spaces, continue lines by back slash. AllTarget(smooth3d) # put one of these lines in for each run image you want to be able # to make NormalProgramTarget(smooth3d,smooth3d.o,NullParameter,$(DEP),$(SYS)) DependTarget() LintTarget() # then save this file as Imakefile and run the command # % xmkmf -a # to build a large Makefile. Then run the make command # % make smooth3d # to build the run image. Then run the smooth3d # % smooth3d # to display the colored triangle.