wxWidgets/samples/typetest/makefile.twn
Ron Lee 367e57ec9b updated samples makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:06:41 +00:00

36 lines
970 B
Plaintext

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