wxWidgets/samples/wizard/makefile.twn
Ron Lee 13f5935c36 renamed wizard sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:50:24 +00:00

36 lines
928 B
Plaintext

# Purpose: makefile for wizard example (TWIN)
# Created: 2000-03-15
WXDIR = ../..
# All common UNIX compiler flags and options are now in
# this central makefile.
include $(WXDIR)/src/maketwin.env
OBJECTS = $(OBJDIR)/wizard.$(OBJSUFF) $(OBJDIR)/wizard.$(OBJSUFF)
all: $(OBJDIR) wizard$(GUISUFFIX)$(EXESUFF)
wx:
$(OBJDIR):
mkdir $(OBJDIR)
wizard$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
$(CC) $(LDFLAGS) -o wizard$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
$(OBJDIR)/wizard.$(OBJSUFF): wizard.$(SRCSUFF)
$(CC) -c $(CPPFLAGS) -o $@ wizard.$(SRCSUFF)
wizard.c: wizard.rc
$(RESCOMP) $(RCINPUTSWITCH) wizard.rc $(RCOUTPUTSWITCH) wizard.c $(RESFLAGS)
$(OBJDIR)/wizard.$(OBJSUFF): wizard.c
$(CC) -c $(CPPFLAGS) -o $@ wizard.c
#$(OBJDIR)/wizard.o: wizard.rc
# $(RESCOMP) $(RCINPUTSWITCH) wizard.rc $(RCOUTPUTSWITCH) $(OBJDIR)/wizard.o $(RESFLAGS)
clean:
rm -f $(OBJECTS) wizard$(GUISUFFIX).exe core *.rsc *.res