# # Makefile for the libstack library # # Copyright © 1997-1999 Erick Gallesio - I3S-CNRS/ESSI # # Permission to use, copy, modify, distribute,and license this # software and its documentation for any purpose is hereby granted, # provided that existing copyright notices are retained in all # copies and that this notice is included verbatim in any # distributions. No written agreement, license, or royalty fee is # required for any of the authorized uses. # This software is provided ``AS IS'' without express or implied # warranty. # # Author: Erick Gallesio [eg@unice.fr] # Creation date: 27-Sep-1997 20:02 # Last file update: 3-Sep-1999 21:05 (eg) # include ../config.make CFLAGS=@CFLAGS@ CC=@CC@ all: libstack.a libstack.a: libstack.o libstack.h @LOW@ /bin/rm -f libstack.a ar cqv libstack.a libstack.o @LOW@ @RANLIB@ libstack.a install: install.libs: -if [ ! -d $(ardir) ] ; then mkdir -p $(ardir); fi $(CP) libstack.a $(ardir) test: testlib ./testlib | uniq -c testlib: test.o libstack.a $(CC) -o testlib test.o libstack.a clean: /bin/rm -f libstack.c lowstack.s lowstack.c *.o *~ config.* \ Makefile libstack.a testlib libstack.h conftest.c