2 # File: Makefile for samples
3 # Author: Robert Roebling
6 # Copyright: (c) 1998 Robert Roebling
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
20 OBJECTS = $(PROGRAM).o
27 $(CC) -c `wx-config --cxxflags` -o $@ $<
31 $(PROGRAM): $(OBJECTS)
32 $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`