Makefile
上传用户:kwdpyr1020
上传日期:2022-08-09
资源大小:1363k
文件大小:0k
源码类别:

OpenGL

开发平台:

Visual C++

  1. ##!nmake
  2. !include <win32.mak>
  3. OPENGL = glut32.lib glu32.lib opengl32.lib
  4. CFILES  = fountain3d.c
  5. TARGETS = $(CFILES:.c=.exe)
  6. LCFLAGS = $(cflags) -DWIN32
  7. LLDLIBS = $(lflags) $(OPENGL) $(guilibs)
  8. default : $(TARGETS)
  9. $(TARGETS): $*.obj
  10.         $(link) -out:$@ $** $(LLDLIBS)
  11. .c.obj : 
  12. $(CC) $(LCFLAGS) $<
  13. # dependencies (must come AFTER inference rules)
  14. fountain3d.exe : texture.obj
  15. texture.obj : texture.c
  16. $(CC) $(LCFLAGS) texture.c