]> git.saurik.com Git - wxWidgets.git/blob - samples/docvwmdi/makefile.g95
Rmoved more wxprop files
[wxWidgets.git] / samples / docvwmdi / makefile.g95
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
12 WXDIR = ../..
13
14 # All common UNIX compiler flags and options are now in
15 # this central makefile.
16 include $(WXDIR)/src/makeg95.env
17
18 OBJECTS = $(OBJDIR)/docview.$(OBJSUFF) $(OBJDIR)/view.$(OBJSUFF) $(OBJDIR)/doc.$(OBJSUFF)\
19 $(OBJDIR)/docview_resources.$(OBJSUFF)
20
21
22 all: $(OBJDIR) docview$(GUISUFFIX)
23
24 $(OBJDIR):
25 mkdir $(OBJDIR)
26
27 docview$(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
42 clean:
43 rm -f $(OBJECTS) docview$(GUISUFFIX).exe core *.rsc *.res