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