]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/gizmos/multicell/makefile.unx
glibc's vswprintf doesn't nul terminate on truncation.
[wxWidgets.git] / contrib / samples / gizmos / multicell / makefile.unx
1 # Purpose: makefile for multicell example (Unix)
2 # Created 2000-07-28
3
4 CXX = $(shell wx-config --cxx)
5
6 PROGRAM = mtest
7
8 OBJECTS = $(PROGRAM).o ../src/multicell.o
9 EXTRAINC=-I../include
10
11 # implementation
12
13 .SUFFIXES: .o .cpp
14
15 .cpp.o :
16 $(CXX) -c `wx-config --cxxflags` -o $@ $<
17
18 all: $(PROGRAM)
19
20 $(PROGRAM): $(OBJECTS)
21 $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
22
23 clean:
24 rm -f *.o $(PROGRAM)