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