6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds pngdemo example (MS VC++).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
14 # Set WXDIR for your system
19 EXTRALIBS=$(WXDIR)\lib\winpng.lib $(WXDIR)\lib\zlib.lib
21 !include $(WXDIR)\src\ntwxwin.mak
23 THISDIR = $(WXDIR)\samples\png
26 OBJECTS = $(PROGRAM).obj
28 $(PROGRAM): $(PROGRAM).exe
30 all: wx $(PROGRAM).exe
34 nmake -f makefile.nt FINAL=$(FINAL)
39 nmake -f makefile.nt clean
42 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
46 $(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
51 $(PROGRAM).obj: $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
53 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
56 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
57 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc