wxWidgets/samples/grid/makefile.twn
Ron Lee f30dcba95d renamed grid sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:09:12 +00:00

36 lines
886 B
Plaintext

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