]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # File: makefile.vc | |
3 | # Author: Julian Smart | |
4 | # Created: 1999 | |
5 | # Updated: | |
6 | # Copyright: (c) Julian Smart | |
7 | # | |
8 | # Makefile : Builds sample (VC++, WIN32) | |
9 | # Use FINAL=1 argument to nmake to build final version with no debug info. | |
10 | ||
11 | # Set WXDIR for your system | |
12 | WXDIR = $(WXWIN) | |
13 | ||
14 | !if "$(FINAL)" == "1" | |
15 | !else | |
16 | LIBEXT=_d | |
17 | !endif | |
18 | ||
19 | PROGRAM=penguin | |
20 | OBJECTS = $(PROGRAM).obj trackball.obj lw.obj | |
21 | #EXTRAINC=-I..\..\win | |
22 | EXTRALIBS=glu32.lib opengl32.lib | |
23 | ||
24 | !include $(WXDIR)\src\makeprog.vc | |
25 | ||
26 | lw.obj: lw.cpp lw.h | |
27 | $(cc) @<< | |
28 | $(CPPFLAGS2) /c $*.$(SRCSUFF) | |
29 | << | |
30 |