1 # Purpose: makefile for toolbar example (TWIN)
6 # All common UNIX compiler flags and options are now in
7 # this central makefile.
8 include $(WXDIR)/src/maketwin.env
10 OBJECTS = $(OBJDIR)/toolbar.$(OBJSUFF) $(OBJDIR)/toolbar.$(OBJSUFF)
12 all: $(OBJDIR) toolbar$(GUISUFFIX)$(EXESUFF)
19 toolbar$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
20 $(CC) $(LDFLAGS) -o toolbar$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
22 $(OBJDIR)/toolbar.$(OBJSUFF): toolbar.$(SRCSUFF)
23 $(CC) -c $(CPPFLAGS) -o $@ toolbar.$(SRCSUFF)
26 $(RESCOMP) $(RCINPUTSWITCH) toolbar.rc $(RCOUTPUTSWITCH) toolbar.c $(RESFLAGS)
28 $(OBJDIR)/toolbar.$(OBJSUFF): toolbar.c
29 $(CC) -c $(CPPFLAGS) -o $@ toolbar.c
31 #$(OBJDIR)/toolbar.o: toolbar.rc
32 # $(RESCOMP) $(RCINPUTSWITCH) toolbar.rc $(RCOUTPUTSWITCH) $(OBJDIR)/toolbar.o $(RESFLAGS)
35 rm -f $(OBJECTS) toolbar$(GUISUFFIX).exe core *.rsc *.res