wxWidgets/samples/statbar/makefile.twn
Vadim Zeitlin 2286341c8d new sample: statbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 20:27:10 +00:00

36 lines
949 B
Plaintext

# Purpose: makefile for statbar example (TWIN)
# Created: 2000-02-04
WXDIR = ../..
# All common UNIX compiler flags and options are now in
# this central makefile.
include $(WXDIR)/src/maketwin.env
OBJECTS = $(OBJDIR)/statbar.$(OBJSUFF) $(OBJDIR)/statbar.$(OBJSUFF)
all: $(OBJDIR) statbar$(GUISUFFIX)$(EXESUFF)
wx:
$(OBJDIR):
mkdir $(OBJDIR)
statbar$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
$(CC) $(LDFLAGS) -o statbar$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
$(OBJDIR)/statbar.$(OBJSUFF): statbar.$(SRCSUFF)
$(CC) -c $(CPPFLAGS) -o $@ statbar.$(SRCSUFF)
statbar.c: statbar.rc
$(RESCOMP) $(RCINPUTSWITCH) statbar.rc $(RCOUTPUTSWITCH) statbar.c $(RESFLAGS)
$(OBJDIR)/statbar.$(OBJSUFF): statbar.c
$(CC) -c $(CPPFLAGS) -o $@ statbar.c
#$(OBJDIR)/statbar.o: statbar.rc
# $(RESCOMP) $(RCINPUTSWITCH) statbar.rc $(RCOUTPUTSWITCH) $(OBJDIR)/statbar.o $(RESFLAGS)
clean:
rm -f $(OBJECTS) statbar$(GUISUFFIX).exe core *.rsc *.res