1 # Makes a library in Unix (Motif)
3 # Replace this with your own path if necessary
6 # Clears all default suffixes
7 .SUFFIXES: .o .cpp .c .cxx
10 $(CCC) -c $(CFLAGS) -o $@ $<
13 $(CC) -c $(CPPFLAGS) -o $@ $<
16 $(CC) -c $(CPPFLAGS) -o $@ $<
18 # this is for using the samples in ../samples/xxxxx
19 pretop_srcdir = @top_srcdir@
20 top_srcdir = ../$(pretop_srcdir)
22 include ../../src/make.env
26 $(LIBTARGET).a : $(OBJECTS)
27 ar $(AROPTIONS) $@ $(OBJECTS)
31 rm -f $(OBJECTS) $(LIBTARGET).a core