home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vos2-121.zip / v / vopengl / cube / Makefile < prev    next >
Makefile  |  1998-11-20  |  1KB  |  47 lines

  1. #=======================================================================
  2. #@V@:Note: This file generated by vgen V1.04 (09:06:20 22 Jun 1998).
  3. #=======================================================================
  4.  
  5. CC    =    g++
  6.  
  7. HOMEV    =    D:/egcs
  8. LIBS    =    -lV -lVgl -lglu32 -lopengl32 -lcomctl32 -mwindows
  9. VLibDir    =    $(HOMEV)/lib
  10. oDir    =    .
  11. Bin    =    .
  12.  
  13. VPATH    =    $(HOMEV)/include
  14.  
  15. #--------------------------------------------------------------
  16. # Architecture dependent
  17.  
  18. # Flags for includes and libraries
  19.  
  20. CFLAGS    =    -O -I$(HOMEV)/include
  21.  
  22. LFLAGS    =    -O -L$(VLibDir)
  23.  
  24. EXOBJS    =    $(oDir)/cubeapp.o \
  25.         $(oDir)/cubecnv.o \
  26.         $(oDir)/cubecmdw.o
  27.  
  28. all:    $(Bin)/cube.exe
  29.  
  30. objs:    $(EXOBJS)
  31.  
  32. clean:
  33.     rm $(EXOBJS)
  34.  
  35. $(Bin)/cube.exe:    $(EXOBJS)
  36.     $(CC) -o $@ $(LFLAGS) $(EXOBJS) $(LIBS)
  37.  
  38. $(oDir)/cubecnv.o:    cubecnv.cpp  cubecnv.h
  39.     $(CC) -c $(CFLAGS) -o $@ $<
  40.  
  41. $(oDir)/cubecmdw.o:    cubecmdw.cpp cubecmdw.h
  42.     $(CC) -c $(CFLAGS) -o $@ $<
  43.  
  44. $(oDir)/cubeapp.o:    cubeapp.cpp \
  45.     cubeapp.h cubecmdw.h
  46.     $(CC) -c $(CFLAGS) -o $@ $<
  47.