X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e877c195bc9ade6d4cb9f96bffb00e81978d740..0bd55cfa2c5c18d4e9241cf90195e30d0be5d905:/src/makelib.env.in diff --git a/src/makelib.env.in b/src/makelib.env.in index 4d913a8cf4..8d7873bdf4 100644 --- a/src/makelib.env.in +++ b/src/makelib.env.in @@ -1,13 +1,18 @@ # Makes a library in Unix (Motif) -# Replace this with your own path if necessary -WXDIR = $(WXWIN) - -# this is for using the samples in ../samples/xxxxx -pretop_srcdir = @top_srcdir@ -top_srcdir = ../$(pretop_srcdir) -top_builddir = ../.. -include ../../src/make.env +# 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