wxWidgets/src/makelib.env.in
Robert Roebling 549c6f67f9 More samples makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-14 09:41:49 +00:00

25 lines
394 B
Bash

# Makes a library in Unix (Motif)
# Clears all default suffixes
.SUFFIXES: .o .cpp .c .cxx
.c.o :
$(CCC) -c $(CFLAGS) -o $@ $<
.cpp.o :
$(CC) -c $(CPPFLAGS) -o $@ $<
.cxx.o :
$(CC) -c $(CPPFLAGS) -o $@ $<
include $(top_builddir)/src/make.env
all: $(LIBTARGET).a
$(LIBTARGET).a : $(OBJECTS)
ar $(AROPTIONS) $@ $(OBJECTS)
$(RANLIB) $@
clean:
rm -f $(OBJECTS) $(LIBTARGET).a core