wxWidgets/contrib/samples/gizmos/multicell/makefile.twn
Julian Smart 58580a7e3c Added gizmos hierarchy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-17 11:53:48 +00:00

40 lines
1.0 KiB
Plaintext

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