]>
Commit | Line | Data |
---|---|---|
1 | CC = gcc | |
2 | ||
3 | PROGRAM = wxIE | |
4 | ||
5 | CFLAGS = -I/m/snowball/icicle/gswd/devenv/include -D__WXGTK__ | |
6 | LFLAGS = -L/m/snowball/icicle/devenv/lib | |
7 | ||
8 | # implementation | |
9 | ||
10 | .SUFFIXES: .o .cpp | |
11 | ||
12 | SOURCES:sh= /bin/ls *.cpp | |
13 | ||
14 | OBJECTS = $(SOURCES:.cpp=.o) | |
15 | ||
16 | .cpp.o : | |
17 | $(CC) -c $(CFLAGS) `wx-config --cflags` -o $@ $< | |
18 | ||
19 | $(PROGRAM): $(OBJECTS) | |
20 | $(CC) -o $(PROGRAM) $(OBJECTS) $(LFLAGS) `wx-config --libs` | |
21 | ||
22 | clean: | |
23 | rm -f *.o $(PROGRAM) | |
24 |