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