1 # Purpose: makefile for statbar 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)/statbar.$(OBJSUFF) $(OBJDIR)/statbar.$(OBJSUFF)
12 all: $(OBJDIR) statbar$(GUISUFFIX)$(EXESUFF)
19 statbar$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
20 $(CC) $(LDFLAGS) -o statbar$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
22 $(OBJDIR)/statbar.$(OBJSUFF): statbar.$(SRCSUFF)
23 $(CC) -c $(CPPFLAGS) -o $@ statbar.$(SRCSUFF)
26 $(RESCOMP) $(RCINPUTSWITCH) statbar.rc $(RCOUTPUTSWITCH) statbar.c $(RESFLAGS)
28 $(OBJDIR)/statbar.$(OBJSUFF): statbar.c
29 $(CC) -c $(CPPFLAGS) -o $@ statbar.c
31 #$(OBJDIR)/statbar.o: statbar.rc
32 # $(RESCOMP) $(RCINPUTSWITCH) statbar.rc $(RCOUTPUTSWITCH) $(OBJDIR)/statbar.o $(RESFLAGS)
35 rm -f $(OBJECTS) statbar$(GUISUFFIX).exe core *.rsc *.res