]> git.saurik.com Git - wxWidgets.git/blame - samples/bombs/Makefile
Added two stand alone makefiles for samples.
[wxWidgets.git] / samples / bombs / Makefile
CommitLineData
cb148def
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
16CC = gcc
17
18PROGRAM = bombs
19
20$(PROGRAM): $(PROGRAM).o game.o bombs1.o
21 $(CC) -o $(PROGRAM) \
22 $(PROGRAM).o bombs1.o game.o `wx-config --libs`
23
24$(PROGRAM).o: $(PROGRAM).cpp
25 $(CC) `wx-config --cflags` -c $(PROGRAM).cpp
26
27game.o: game.cpp
28 $(CC) `wx-config --cflags` -c game.cpp
29
30bombs1.o: bombs1.cpp
31 $(CC) `wx-config --cflags` -c bombs1.cpp
32
33clean:
34 rm -f *.o $(PROGRAM)