6718d773ad
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
36 lines
970 B
Plaintext
36 lines
970 B
Plaintext
# Purpose: makefile for splitter 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)/splitter.$(OBJSUFF) $(OBJDIR)/splitter.$(OBJSUFF)
|
|
|
|
all: $(OBJDIR) splitter$(GUISUFFIX)$(EXESUFF)
|
|
|
|
wx:
|
|
|
|
$(OBJDIR):
|
|
mkdir $(OBJDIR)
|
|
|
|
splitter$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
|
|
$(CC) $(LDFLAGS) -o splitter$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
|
|
|
|
$(OBJDIR)/splitter.$(OBJSUFF): splitter.$(SRCSUFF)
|
|
$(CC) -c $(CPPFLAGS) -o $@ splitter.$(SRCSUFF)
|
|
|
|
splitter.c: splitter.rc
|
|
$(RESCOMP) $(RCINPUTSWITCH) splitter.rc $(RCOUTPUTSWITCH) splitter.c $(RESFLAGS)
|
|
|
|
$(OBJDIR)/splitter.$(OBJSUFF): splitter.c
|
|
$(CC) -c $(CPPFLAGS) -o $@ splitter.c
|
|
|
|
#$(OBJDIR)/splitter.o: splitter.rc
|
|
# $(RESCOMP) $(RCINPUTSWITCH) splitter.rc $(RCOUTPUTSWITCH) $(OBJDIR)/splitter.o $(RESFLAGS)
|
|
|
|
clean:
|
|
rm -f $(OBJECTS) splitter$(GUISUFFIX).exe core *.rsc *.res
|