# Course: CS 12 # # Lecture Section: 1 # Lab Section: 21 # Assignment #: Lab #1 # # First Name: Your # Last Name: TAs # ID Number: 123456789 # Email address: cs12@lists.cs.ucr.edu # # ======================================================================= # # This is a makefile for the self portrait program. # # To generate the executeable, type "make all" or "make" at the command # prompt. # To remove the executeable and any extranious files type "make clean" at # the command prompt. # Variables make your life easy # The compiler to use CXX=g++ # The command line options to give to the compiler CXXFLAGS= -Wall -W -Werror -ansi -pedantic # libraries to use LIBS= -lX11 -lccc # where to look for libraries LIBDIRS= -L /usr/X11R6/lib -L /usr/local/lib # compile a Big C++ Graphics Package program all: $(CXX) $(CXXFLAGS) $(LIBDIRS) -o a.out ccc_main.cpp $(LIBS) # remove unnecessary files clean: rm -rf *~ a.out