Files
wxWidgets/src/makelib.env.in
Robert Roebling 48b1d0ff4f New makefile updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-11 17:40:09 +00:00

32 lines
590 B
Bash

# Makes a library in Unix (Motif)
# Replace this with your own path if necessary
WXDIR = $(WXWIN)
# 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 $@ $<
# this is for using the samples in ../samples/xxxxx
pretop_srcdir = @top_srcdir@
top_srcdir = ../$(pretop_srcdir)
top_builddir = ../..
include ../../src/make.env
all: $(LIBTARGET).a
$(LIBTARGET).a : $(OBJECTS)
ar $(AROPTIONS) $@ $(OBJECTS)
$(RANLIB) $@
clean:
rm -f $(OBJECTS) $(LIBTARGET).a core