08-27-2002, 06:43 AM
the file content is as follows:
*********************************************
# Makefile for Win32 (nmake)
!include <win32.mak>
CFLAGS = $(cflags) $(cdebug) -DWIN32
LDLIBS = $(lflags) $(ldebug) glut.lib glu.lib opengl.lib $(guilibs)
CFILES = bounce.c glui.c trackball.c
TARGETS = bounce.exe
OBJECTS = $(CFILES:.c=.obj)
default : $(TARGETS)
clean :
@del *.obj
@del *~
clobber :
@del *.exe
$(TARGETS): $(OBJECTS)
$(link) -out:$@ $(OBJECTS) $(LDLIBS)
.c.obj :
$(CC) $(CFLAGS) $<
# dependencies (must come AFTER inference rules)
trackball.obj : trackball.h
$(OBJECTS) : glui.h
********************************************
I don't know what is the usage of this file,and how to use it .
I hope someone can help me with it.
thanks
*********************************************
# Makefile for Win32 (nmake)
!include <win32.mak>
CFLAGS = $(cflags) $(cdebug) -DWIN32
LDLIBS = $(lflags) $(ldebug) glut.lib glu.lib opengl.lib $(guilibs)
CFILES = bounce.c glui.c trackball.c
TARGETS = bounce.exe
OBJECTS = $(CFILES:.c=.obj)
default : $(TARGETS)
clean :
@del *.obj
@del *~
clobber :
@del *.exe
$(TARGETS): $(OBJECTS)
$(link) -out:$@ $(OBJECTS) $(LDLIBS)
.c.obj :
$(CC) $(CFLAGS) $<
# dependencies (must come AFTER inference rules)
trackball.obj : trackball.h
$(OBJECTS) : glui.h
********************************************
I don't know what is the usage of this file,and how to use it .
I hope someone can help me with it.
thanks