wxWidgets/samples/treectrl/makefile.twn
Julian Smart ec312631c6 Finally reverted treectrl name back to treetest after a long
history of problems with the name clash. This cures a link problem
with the sample compiled with wxX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 12:22:02 +00:00

36 lines
970 B
Plaintext

# Purpose: makefile for treetest 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)/treetest.$(OBJSUFF) $(OBJDIR)/treetest.$(OBJSUFF)
all: $(OBJDIR) treetest$(GUISUFFIX)$(EXESUFF)
wx:
$(OBJDIR):
mkdir $(OBJDIR)
treetest$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
$(CC) $(LDFLAGS) -o treetest$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
$(OBJDIR)/treetest.$(OBJSUFF): treetest.$(SRCSUFF)
$(CC) -c $(CPPFLAGS) -o $@ treetest.$(SRCSUFF)
treetest.c: treetest.rc
$(RESCOMP) $(RCINPUTSWITCH) treetest.rc $(RCOUTPUTSWITCH) treetest.c $(RESFLAGS)
$(OBJDIR)/treetest.$(OBJSUFF): treetest.c
$(CC) -c $(CPPFLAGS) -o $@ treetest.c
#$(OBJDIR)/treetest.o: treetest.rc
# $(RESCOMP) $(RCINPUTSWITCH) treetest.rc $(RCOUTPUTSWITCH) $(OBJDIR)/treetest.o $(RESFLAGS)
clean:
rm -f $(OBJECTS) treetest$(GUISUFFIX).exe core *.rsc *.res