1542ea396a
empty stub for wxMac. Added some generic helpers and a new ctor to wxRegion. Added samples/shaped. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
36 lines
928 B
Plaintext
36 lines
928 B
Plaintext
# Purpose: makefile for shaped example (TWIN)
|
|
# Created: 2000-01-03
|
|
|
|
WXDIR = ../..
|
|
|
|
# All common UNIX compiler flags and options are now in
|
|
# this central makefile.
|
|
include $(WXDIR)/src/maketwin.env
|
|
|
|
OBJECTS = $(OBJDIR)/shaped.$(OBJSUFF) $(OBJDIR)/shaped.$(OBJSUFF)
|
|
|
|
all: $(OBJDIR) shaped$(GUISUFFIX)$(EXESUFF)
|
|
|
|
wx:
|
|
|
|
$(OBJDIR):
|
|
mkdir $(OBJDIR)
|
|
|
|
shaped$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
|
|
$(CC) $(LDFLAGS) -o shaped$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
|
|
|
|
$(OBJDIR)/shaped.$(OBJSUFF): shaped.$(SRCSUFF)
|
|
$(CC) -c $(CPPFLAGS) -o $@ shaped.$(SRCSUFF)
|
|
|
|
shaped.c: shaped.rc
|
|
$(RESCOMP) $(RCINPUTSWITCH) shaped.rc $(RCOUTPUTSWITCH) shaped.c $(RESFLAGS)
|
|
|
|
$(OBJDIR)/shaped.$(OBJSUFF): shaped.c
|
|
$(CC) -c $(CPPFLAGS) -o $@ shaped.c
|
|
|
|
#$(OBJDIR)/shaped.o: shaped.rc
|
|
# $(RESCOMP) $(RCINPUTSWITCH) shaped.rc $(RCOUTPUTSWITCH) $(OBJDIR)/shaped.o $(RESFLAGS)
|
|
|
|
clean:
|
|
rm -f $(OBJECTS) shaped$(GUISUFFIX).exe core *.rsc *.res
|