]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/mdi/makefile.twn
Applied patch [ 853031 ] Japanese po file
[wxWidgets.git] / samples / mdi / makefile.twn
... / ...
CommitLineData
1#
2# File: makefile.unx
3# Author: Julian Smart
4# Created: 1999
5# Updated:
6#
7# Makefile for mdi example (UNIX, TWIN32)
8
9WXDIR = ../..
10
11# All common UNIX compiler flags and options are now in
12# this central makefile.
13include $(WXDIR)/src/maketwin.env
14
15OBJECTS = $(OBJDIR)/mdi.$(OBJSUFF) $(OBJDIR)/mdi_resources.$(OBJSUFF)
16
17all: $(OBJDIR) mdi$(GUISUFFIX)$(EXESUFF)
18
19wx:
20
21$(OBJDIR):
22 mkdir $(OBJDIR)
23
24mdi$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
25 $(CC) $(LDFLAGS) -o mdi$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
26
27$(OBJDIR)/mdi.$(OBJSUFF): mdi.$(SRCSUFF)
28 $(CC) -c $(CPPFLAGS) -o $@ mdi.$(SRCSUFF)
29
30mdi_resources.c: mdi.rc
31 $(RESCOMP) $(RCINPUTSWITCH) mdi.rc $(RCOUTPUTSWITCH) mdi_resources.c $(RESFLAGS)
32
33$(OBJDIR)/mdi_resources.$(OBJSUFF): mdi_resources.c
34 $(CC) -c $(CPPFLAGS) -o $@ mdi_resources.c
35
36clean:
37 rm -f $(OBJECTS) mdi.exe core *.rsc *.res