]>
Commit | Line | Data |
---|---|---|
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 | ||
16 | CC = gcc | |
17 | ||
18 | PROGRAM = plot | |
19 | ||
20 | $(PROGRAM): $(PROGRAM).o | |
21 | $(CC) -o $(PROGRAM) $(PROGRAM).o `wx-config --libs` | |
22 | ||
23 | $(PROGRAM).o: $(PROGRAM).cpp | |
24 | $(CC) `wx-config --cflags` -c $(PROGRAM).cpp | |
25 | ||
26 | clean: | |
27 | rm -f *.o $(PROGRAM) |