]> git.saurik.com Git - wxWidgets.git/blob - src/makelib.env.in
SN: Fixed inlcudes for EMX, commented out lines like "cout << something;"
[wxWidgets.git] / src / makelib.env.in
1 # Makes a library in Unix (Motif)
2
3 # Clears all default suffixes
4 .SUFFIXES: .o .cpp .c .cxx
5
6 .c.o :
7 $(CCC) -c $(CFLAGS) -o $@ $<
8
9 .cpp.o :
10 $(CC) -c $(CPPFLAGS) -o $@ $<
11
12 .cxx.o :
13 $(CC) -c $(CPPFLAGS) -o $@ $<
14
15 include $(top_builddir)/src/make.env
16
17 all: $(LIBTARGET).a
18
19 $(LIBTARGET).a : $(OBJECTS)
20 ar $(AROPTIONS) $@ $(OBJECTS)
21 $(RANLIB) $@
22
23 clean:
24 rm -f $(OBJECTS) $(LIBTARGET).a core