]> git.saurik.com Git - wxWidgets.git/blob - src/makeprog.env.in
Augmented beta to 9,
[wxWidgets.git] / src / makeprog.env.in
1 # Make environment for making samples on Unix
2
3 # Replace this with your own path if necessary
4 WXDIR = $(WXWIN)
5
6 # Clears all default suffixes
7 .SUFFIXES: .o .cpp .c .cxx
8
9 .c.o :
10 $(CCC) -c $(CFLAGS) -o $@ $<
11
12 .cpp.o :
13 $(CC) -c $(CPPFLAGS) -o $@ $<
14
15 .cxx.o :
16 $(CC) -c $(CPPFLAGS) -o $@ $<
17
18 # this is for using the samples in ../samples/xxxxx
19 pretop_srcdir = @top_srcdir@
20 top_srcdir = ../$(pretop_srcdir)
21 top_builddir = ../..
22 include ../../src/make.env
23
24 all: $(PROGRAM)
25
26 $(PROGRAM): $(OBJECTS) ../../lib/@WX_TARGET_LIBRARY@
27 $(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(LDLIBS)
28
29 clean:
30 rm -f $(OBJECTS) $(PROGRAM) core