home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vos2-121.zip / v / vopengl / gears / Makefile.X < prev   
Makefile  |  1998-07-07  |  1KB  |  49 lines

  1. #=======================================================================
  2. #@V@:Note: This file generated by vgen V1.04 (10:21:56 22 Jun 1998).
  3. #=======================================================================
  4.  
  5. CC    =    g++
  6.  
  7. HOMEV    =    /usr
  8. LIBS    =    -lV -lGLw -lGLU -lGL -lXaw -lXmu -lXt -lXext -lX11
  9. X11LIB  =       /usr/X11R6/lib
  10. VLibDir    =    $(HOMEV)/lib
  11. oDir    =    .
  12. Bin    =    .
  13.  
  14. VPATH    =    $(HOMEV)/include
  15.  
  16. #--------------------------------------------------------------
  17. # Architecture dependent
  18.  
  19. # Flags for includes and libraries
  20.  
  21. #CFLAGS    =    -O -I$(HOMEV)/include
  22. CFLAGS    =    -g -I$(HOMEV)/include
  23.  
  24. LFLAGS    =    -O -L$(VLibDir) -L$(X11LIB)
  25.  
  26. EXOBJS    =    $(oDir)/gearapp.o \
  27.         $(oDir)/gearcnv.o \
  28.         $(oDir)/gearcmdw.o
  29.  
  30. all:    $(Bin)/gear
  31.  
  32. objs:    $(EXOBJS)
  33.  
  34. clean:
  35.     rm $(EXOBJS)
  36.  
  37. $(Bin)/gear:    $(EXOBJS)
  38.     $(CC) -o $@ $(LFLAGS) $(EXOBJS) $(LIBS)
  39.  
  40. $(oDir)/gearcnv.o:    gearcnv.cpp  gearcnv.h
  41.     $(CC) -c $(CFLAGS) -o $@ $<
  42.  
  43. $(oDir)/gearcmdw.o:    gearcmdw.cpp gearcmdw.h
  44.     $(CC) -c $(CFLAGS) -o $@ $<
  45.  
  46. $(oDir)/gearapp.o:    gearapp.cpp \
  47.     gearapp.h gearcmdw.h
  48.     $(CC) -c $(CFLAGS) -o $@ $<
  49.