6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile for oleauto 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)/oleauto.$(OBJSUFF) $(OBJDIR)/oleauto_resources.$(OBJSUFF)
20 all: $(OBJDIR) oleauto$(GUISUFFIX)$(EXESUFF)
27 oleauto$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
28 $(CC) $(LDFLAGS) -o oleauto$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
30 $(OBJDIR)/oleauto.$(OBJSUFF): oleauto.$(SRCSUFF)
31 $(CC) -c $(CPPFLAGS) -o $@ oleauto.$(SRCSUFF)
33 $(OBJDIR)/oleauto_resources.o: oleauto.rc
34 $(RESCOMP) -i oleauto.rc -o $(OBJDIR)/oleauto_resources.o $(RESFLAGS)
37 rm -f $(OBJECTS) oleauto$(GUISUFFIX).exe core *.rsc *.res