]>
Commit | Line | Data |
---|---|---|
8e877c19 RR |
1 | # Make environment for making samples on Unix |
2 | ||
3 | # Replace this with your own path if necessary | |
4 | WXDIR = $(WXWIN) | |
5 | ||
48b1d0ff RR |
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 | ||
8e877c19 RR |
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 | ||
48b1d0ff | 26 | $(PROGRAM): $(OBJECTS) ../../lib/@WX_TARGET_LIBRARY@ |
8e877c19 RR |
27 | $(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(LDLIBS) |
28 | ||
29 | clean: | |
30 | rm -f $(OBJECTS) $(PROGRAM) core |