]> git.saurik.com Git - wxWidgets.git/blame - samples/docvwmdi/makefile.g95
Got Penguin sample running under Windows.
[wxWidgets.git] / samples / docvwmdi / makefile.g95
CommitLineData
2108f33a
JS
1#
2# File: makefile.unx
3# Author: Julian Smart
4# Created: 1993
5# Updated:
6# Copyright: (c) 1993, AIAI, University of Edinburgh
7#
8# "%W% %G%"
9#
10# Makefile for docview example (UNIX).
11
12WXDIR = ../..
13
14# All common UNIX compiler flags and options are now in
15# this central makefile.
16include $(WXDIR)/src/makeg95.env
17
18OBJECTS = $(OBJDIR)/docview.$(OBJSUFF) $(OBJDIR)/view.$(OBJSUFF) $(OBJDIR)/doc.$(OBJSUFF)\
19 $(OBJDIR)/docview_resources.$(OBJSUFF)
20
21
22all: $(OBJDIR) docview$(GUISUFFIX)
23
24$(OBJDIR):
25 mkdir $(OBJDIR)
26
27docview$(GUISUFFIX): $(OBJECTS) $(WXLIB)
28 $(CC) $(LDFLAGS) -o docview$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(XVIEW_LINK) $(LDLIBS)
29
30$(OBJDIR)/docview.$(OBJSUFF): docview.$(SRCSUFF) docview.h doc.h view.h
31 $(CC) -c $(CPPFLAGS) -o $@ docview.$(SRCSUFF)
32
33$(OBJDIR)/doc.$(OBJSUFF): doc.$(SRCSUFF) doc.h
34 $(CC) -c $(CPPFLAGS) -o $@ doc.$(SRCSUFF)
35
36$(OBJDIR)/view.$(OBJSUFF): view.$(SRCSUFF) view.h
37 $(CC) -c $(CPPFLAGS) -o $@ view.$(SRCSUFF)
38
39$(OBJDIR)/docview_resources.o: docview.rc
40 $(RESCOMP) -i docview.rc -o $(OBJDIR)/docview_resources.o $(RESFLAGS)
41
42clean:
43 rm -f $(OBJECTS) docview$(GUISUFFIX).exe core *.rsc *.res