]> git.saurik.com Git - wxWidgets.git/blob - wxPython/samples/embedded/makefile.unx
Fixed the bugs preventing wxPython from being embedded in a wxWindows
[wxWidgets.git] / wxPython / samples / embedded / makefile.unx
1 #
2 # Makefile for Unix
3 #
4 # This makefile requires a Unix version of wxWindows
5 # to be installed on your system. This is most often
6 # done typing "make install" when using the complete
7 # sources of wxWindows or by installing the two
8 # RPM packages wxGTK.XXX.rpm and wxGTK-devel.XXX.rpm
9 # under Linux.
10 #
11
12 PROGRAM = embedded
13 OBJECTS = $(PROGRAM).o
14
15 CXX = $(shell wx-config --cxx)
16
17
18 .SUFFIXES: .o .cpp
19
20 .cpp.o :
21 $(CXX) -c `wx-config --cxxflags` -o $@ $<
22
23 all: $(PROGRAM)
24
25 $(PROGRAM): $(OBJECTS)
26 $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
27
28 clean:
29 rm -f *.o $(PROGRAM)