-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile.win
24 lines (16 loc) · 906 Bytes
/
Makefile.win
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
##!nmake
!include <win32.mak>
LCFLAGS = $(cflags) $(cdebug) -DWIN32
LLDLIBS = $(lflags) $(ldebug) glut.lib glu.lib opengl.lib $(guilibs)
CFILES = aaindex.c aapoly.c aargb.c accanti.c accpersp.c alpha.c alpha3D.c bezcurve.c bezmesh.c bezsurf.c checker.c clip.c colormat.c cube.c dof.c double.c drawf.c feedback.c fog.c fogindex.c font.c hello.c image.c light.c lines.c list.c material.c mipmap.c model.c movelight.c pickdepth.c picksquare.c planet.c polyoff.c polys.c quadric.c robot.c scene.c select.c smooth.c stencil.c stroke.c surface.c teapots.c tess.c tesswind.c texbind.c texgen.c texprox.c texsub.c texturesurf.c torus.c trim.c unproject.c varray.c wrap.c
TARGETS = $(CFILES:.c=.exe)
default : $(EXES)
clean :
@del *.obj
clobber : clean
@del *.exe
$(TARGETS) : $*.obj
$(link) -out:$@ $** $(LLDLIBS)
.c.obj :
$(CC) $(LCFLAGS) $<
# dependencies (must come AFTER inference rules)