X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e877c195bc9ade6d4cb9f96bffb00e81978d740..4f40f5e37059cad5b4bc6880f47f5dbeb06ec49e:/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