home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vos2-121.zip / v / vopengl / gears / Makefile.win < prev    next >
Makefile  |  1998-11-20  |  1KB  |  48 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    =    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)/gearapp.o \
  25.         $(oDir)/gearcnv.o \
  26.         $(oDir)/gearcmdw.o
  27.  
  28. all:    $(Bin)/gear.exe
  29.  
  30. objs:    $(EXOBJS)
  31.  
  32. clean:
  33.     rm $(EXOBJS)
  34.     rm $(Bin)/gear.exe
  35.  
  36. $(Bin)/gear.exe:    $(EXOBJS)
  37.     $(CC) -o $@ $(LFLAGS) $(EXOBJS) $(LIBS)
  38.  
  39. $(oDir)/gearcnv.o:    gearcnv.cpp  gearcnv.h
  40.     $(CC) -c $(CFLAGS) -o $@ $<
  41.  
  42. $(oDir)/gearcmdw.o:    gearcmdw.cpp gearcmdw.h
  43.     $(CC) -c $(CFLAGS) -o $@ $<
  44.  
  45. $(oDir)/gearapp.o:    gearapp.cpp \
  46.     gearapp.h gearcmdw.h
  47.     $(CC) -c $(CFLAGS) -o $@ $<
  48.