]> git.saurik.com Git - wxWidgets.git/blame - demos/forty/makefile.unx
wxArray<T> macros have been changed to fix runtime problems under 64 bit
[wxWidgets.git] / demos / forty / makefile.unx
CommitLineData
e9093718
RR
1#
2# File: Makefile for samples
3# Author: Robert Roebling
4# Created: 1999
5# Updated:
6# Copyright: (c) 1998 Robert Roebling
7#
8# This makefile requires a Unix version of wxWindows
9# to be installed on your system. This is most often
10# done typing "make install" when using the complete
11# sources of wxWindows or by installing the two
12# RPM packages wxGTK.XXX.rpm and wxGTK-devel.XXX.rpm
13# under Linux.
14#
15
4a0c68a7 16CC = g++
e9093718 17
4a0c68a7 18PROGRAM = forty
e9093718
RR
19
20OBJECTS = $(PROGRAM).o canvas.o card.o game.o pile.o playerdg.o scoredg.o scorefil.o
21
22# implementation
23
24.SUFFIXES: .o .cpp
25
26.cpp.o :
a6f762a6 27 $(CXX) -c `wx-config --cxxflags` -o $@ $<
e9093718
RR
28
29all: $(PROGRAM)
30
31$(PROGRAM): $(OBJECTS)
a6f762a6 32 $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
e9093718
RR
33
34clean:
35 rm -f *.o $(PROGRAM)