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