]> git.saurik.com Git - wxWidgets.git/blob - src/makelib.env.in
Bug fix in wxBufferedInputStream::SeekI
[wxWidgets.git] / src / makelib.env.in
1 # Makes a library in Unix (Motif)
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: $(LIBTARGET).a
25
26 $(LIBTARGET).a : $(OBJECTS)
27 ar $(AROPTIONS) $@ $(OBJECTS)
28 $(RANLIB) $@
29
30 clean:
31 rm -f $(OBJECTS) $(LIBTARGET).a core