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