367e57ec9b
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
36 lines
970 B
Plaintext
36 lines
970 B
Plaintext
# Purpose: makefile for sashtest example (TWIN)
|
|
# Created: 2000-03-14
|
|
|
|
WXDIR = ../..
|
|
|
|
# All common UNIX compiler flags and options are now in
|
|
# this central makefile.
|
|
include $(WXDIR)/src/maketwin.env
|
|
|
|
OBJECTS = $(OBJDIR)/sashtest.$(OBJSUFF) $(OBJDIR)/sashtest.$(OBJSUFF)
|
|
|
|
all: $(OBJDIR) sashtest$(GUISUFFIX)$(EXESUFF)
|
|
|
|
wx:
|
|
|
|
$(OBJDIR):
|
|
mkdir $(OBJDIR)
|
|
|
|
sashtest$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
|
|
$(CC) $(LDFLAGS) -o sashtest$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
|
|
|
|
$(OBJDIR)/sashtest.$(OBJSUFF): sashtest.$(SRCSUFF)
|
|
$(CC) -c $(CPPFLAGS) -o $@ sashtest.$(SRCSUFF)
|
|
|
|
sashtest.c: sashtest.rc
|
|
$(RESCOMP) $(RCINPUTSWITCH) sashtest.rc $(RCOUTPUTSWITCH) sashtest.c $(RESFLAGS)
|
|
|
|
$(OBJDIR)/sashtest.$(OBJSUFF): sashtest.c
|
|
$(CC) -c $(CPPFLAGS) -o $@ sashtest.c
|
|
|
|
#$(OBJDIR)/sashtest.o: sashtest.rc
|
|
# $(RESCOMP) $(RCINPUTSWITCH) sashtest.rc $(RCOUTPUTSWITCH) $(OBJDIR)/sashtest.o $(RESFLAGS)
|
|
|
|
clean:
|
|
rm -f $(OBJECTS) sashtest$(GUISUFFIX).exe core *.rsc *.res
|