2 # File: Makefile for the widgets sample
3 # Author: Vadim Zeitlin
4 # Copyright: (c) 2002 wxWindows team
6 # This makefile requires a Unix version of wxWindows
7 # to be installed on your system. This is most often
8 # done typing "make install" when using the complete
9 # sources of wxWindows or by installing the two
10 # RPM packages wxGTK.XXX.rpm and wxGTK-devel.XXX.rpm
14 CXX = $(shell wx-config --cxx)
18 OBJECTS = $(PROGRAM).o \
35 $(CXX) -c `wx-config --cxxflags` -o $@ $<
39 $(PROGRAM): $(OBJECTS)
40 $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`