h8rt3rmin8r

make-teapot

Dec 15th, 2018
717
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. INC = -I. -I/usr/include
  2. CFLAGS  =
  3. LDFLAGS = -L/usr/X11R6/lib -lGL -lGLU -lglut -lm -s
  4. LLDLIBS = $(GLUT) -lGLU -lGL -lXmu -lXi -lXext -lX11 -lm
  5. CC  = gcc
  6.  
  7. TGTS = teapot
  8.  
  9.  
  10. .c.o: $(INC)
  11.     $(CC) -c $<
  12.  
  13. .o:
  14.     $(CC) -o $* $? $(LIBS)
  15.  
  16. all: $(TGTS)
  17.  
  18. make clean:
  19.     rm -f *.o $(TGTS)
RAW Paste Data