6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile for nativdlg example (UNIX).
14 # All common UNIX compiler flags and options are now in
15 # this central makefile.
16 include $(WXDIR)/src/makeg95.env
18 OBJECTS=$(OBJDIR)/nativdlg.$(OBJSUFF) $(OBJDIR)/nativdlg_resources.$(OBJSUFF)
20 all: $(OBJDIR) nativdlg$(GUISUFFIX)
25 $(OBJDIR)/nativdlg.$(OBJSUFF): nativdlg.$(SRCSUFF) nativdlg.h
26 $(CC) -c $(CPPFLAGS) -o $@ nativdlg.$(SRCSUFF)
28 nativdlg$(GUISUFFIX): $(OBJECTS) $(WXLIB)
29 $(CC) $(LDFLAGS) -o nativdlg$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
31 $(OBJDIR)/nativdlg_resources.o: nativdlg.rc
32 $(RESCOMP) -i nativdlg.rc -o $(OBJDIR)/nativdlg_resources.o $(RESFLAGS)
35 rm -f $(OBJECTS) nativdlg$(GUISUFFIX).exe core *.rsc *.res