]> git.saurik.com Git - wxWidgets.git/blob - samples/forty/makefile.g95
Rmoved more wxprop files
[wxWidgets.git] / samples / forty / 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 Forty Thieves 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)/forty.$(OBJSUFF) $(OBJDIR)/canvas.$(OBJSUFF) $(OBJDIR)/card.$(OBJSUFF)\
19 $(OBJDIR)/game.$(OBJSUFF) $(OBJDIR)/pile.$(OBJSUFF) $(OBJDIR)/playerdg.$(OBJSUFF)\
20 $(OBJDIR)/scoredg.$(OBJSUFF) $(OBJDIR)/scorefil.$(OBJSUFF)\
21 $(OBJDIR)/forty_resources.$(OBJSUFF)
22
23 all: $(OBJDIR) forty$(GUISUFFIX)$(EXESUFF)
24
25 wx:
26
27 $(OBJDIR):
28 mkdir $(OBJDIR)
29
30 forty$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
31 $(CC) $(LDFLAGS) -o forty$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
32
33 $(OBJDIR)/forty.$(OBJSUFF): forty.$(SRCSUFF)
34 $(CC) -c $(CPPFLAGS) -o $@ forty.$(SRCSUFF)
35
36 $(OBJDIR)/canvas.$(OBJSUFF): canvas.$(SRCSUFF)
37 $(CC) -c $(CPPFLAGS) -o $@ canvas.$(SRCSUFF)
38
39 $(OBJDIR)/card.$(OBJSUFF): card.$(SRCSUFF)
40 $(CC) -c $(CPPFLAGS) -o $@ card.$(SRCSUFF)
41
42 $(OBJDIR)/playerdg.$(OBJSUFF): playerdg.$(SRCSUFF)
43 $(CC) -c $(CPPFLAGS) -o $@ playerdg.$(SRCSUFF)
44
45 $(OBJDIR)/scoredg.$(OBJSUFF): scoredg.$(SRCSUFF)
46 $(CC) -c $(CPPFLAGS) -o $@ scoredg.$(SRCSUFF)
47
48 $(OBJDIR)/scorefil.$(OBJSUFF): scorefil.$(SRCSUFF)
49 $(CC) -c $(CPPFLAGS) -o $@ scorefil.$(SRCSUFF)
50
51 $(OBJDIR)/pile.$(OBJSUFF): pile.$(SRCSUFF)
52 $(CC) -c $(CPPFLAGS) -o $@ pile.$(SRCSUFF)
53
54 $(OBJDIR)/game.$(OBJSUFF): game.$(SRCSUFF)
55 $(CC) -c $(CPPFLAGS) -o $@ game.$(SRCSUFF)
56
57 $(OBJDIR)/forty_resources.o: forty.rc
58 $(RESCOMP) -i forty.rc -o $(OBJDIR)/forty_resources.o $(RESFLAGS)
59
60 clean:
61 rm -f $(OBJECTS) forty$(GUISUFFIX).exe core *.rsc *.res