]>
Commit | Line | Data |
---|---|---|
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 | ||
e9093718 RR |
16 | PROGRAM = config |
17 | ||
cb148def RR |
18 | CC = gcc |
19 | ||
e9093718 RR |
20 | OBJECTS = $(PROGRAM).o |
21 | ||
22 | # implementation | |
23 | ||
24 | .SUFFIXES: .o .cpp | |
25 | ||
26 | .cpp.o : | |
27 | $(CC) -c `wx-config --cflags` -o $@ $< | |
cb148def | 28 | |
e9093718 | 29 | all: $(PROGRAM) |
cb148def | 30 | |
e9093718 RR |
31 | $(PROGRAM): $(OBJECTS) |
32 | $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` | |
cb148def RR |
33 | |
34 | clean: | |
35 | rm -f *.o $(PROGRAM) |