]> git.saurik.com Git - wxWidgets.git/blame - src/makelib.env.in
Augmented beta to 9,
[wxWidgets.git] / src / makelib.env.in
CommitLineData
8e877c19
RR
1# Makes a library in Unix (Motif)
2
3# Replace this with your own path if necessary
4WXDIR = $(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
19pretop_srcdir = @top_srcdir@
20top_srcdir = ../$(pretop_srcdir)
21top_builddir = ../..
22include ../../src/make.env
23
24all: $(LIBTARGET).a
25
26$(LIBTARGET).a : $(OBJECTS)
27 ar $(AROPTIONS) $@ $(OBJECTS)
28 $(RANLIB) $@
29
30clean:
31 rm -f $(OBJECTS) $(LIBTARGET).a core