# # File: makefile.nt # Author: Julian Smart # Created: 1993 # Updated: # Copyright: (c) 1993, AIAI, University of Edinburgh # # "%W% %G%" # # Makefile : Builds ipc example (MS VC++). # Use FINAL=1 argument to nmake to build final version with no debugging # info # Set WXDIR for your system WXDIR = $(WXWIN) !include $(WXDIR)\src\ntwxwin.mak THISDIR = $(WXDIR)\samples\ipc all: wx client.exe server.exe wx: cd $(WXDIR)\src\msw nmake -f makefile.nt FINAL=$(FINAL) cd $(THISDIR) wxclean: cd $(WXDIR)\src\msw nmake -f makefile.nt clean cd $(THISDIR) client.exe: $(DUMMYOBJ) $(WXLIB) client.obj client.res $(link) @<< -out:client.exe $(LINKFLAGS) $(DUMMYOBJ) client.obj client.res $(LIBS) << server.exe: $(DUMMYOBJ) $(WXLIB) server.obj server.res $(link) @<< -out:server.exe $(LINKFLAGS) $(DUMMYOBJ) server.obj server.res $(LIBS) << client.obj: client.$(SRCSUFF) $(DUMMYOBJ) $(cc) @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) << server.obj: server.$(SRCSUFF) $(DUMMYOBJ) $(cc) @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) << client.res : client.rc $(WXDIR)\include\msw\wx.rc $(rc) -r /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa -fo$@ client.rc server.res : server.rc $(WXDIR)\include\msw\wx.rc $(rc) -r /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa -fo$@ server.rc clean: -erase *.obj -erase *.exe -erase *.res -erase *.map -erase *.sbr -erase *.pdb