]> git.saurik.com Git - wxWidgets.git/blame - samples/popup/makefile.unx
Added Set/GetQuickBestSize
[wxWidgets.git] / samples / popup / makefile.unx
CommitLineData
56072f9e
JS
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# this makefile may also be used as a template for simple makefiles for your
16# own programs, the comments explain which parts of it you may have to modify
17# to use it for your own programs
18
19
20# you may change WX_CONFIG value to use a specific wx-config and to pass it
21# some options, for example "--inplace" to use an uninstalled wxWindows
22# version
23#
24# by default, wx-config from the PATH is used
25WX_CONFIG := wx-config
26
27# set this to the name of the main executable file
28PROGRAM = popup
29
30# if your program has more than one source file, add more .o files to the line
31# below
32OBJECTS = $(PROGRAM).o
33
34
35# you shouldn't have to edit anything below this line
36CXX = $(shell $(WX_CONFIG) --cxx)
37
38.SUFFIXES: .o .cpp
39
40.cpp.o :
41 $(CXX) -c `$(WX_CONFIG) --cxxflags` -o $@ $<
42
43all: $(PROGRAM)
44
45$(PROGRAM): $(OBJECTS)
46 $(CXX) -o $(PROGRAM) $(OBJECTS) `$(WX_CONFIG) --libs`
47
48clean:
49 rm -f *.o $(PROGRAM)