stk/Stack/Makefile.in

47 lines
1.2 KiB
Makefile
Raw Normal View History

1998-04-10 06:59:06 -04:00
#
# Makefile for the libstack library
#
1999-02-02 06:13:40 -05:00
# Copyright <20> 1997-1999 Erick Gallesio - I3S-CNRS/ESSI <eg@unice.fr>
1998-04-10 06:59:06 -04:00
#
1999-09-05 07:16:41 -04:00
# 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.
1998-04-10 06:59:06 -04:00
#
# Author: Erick Gallesio [eg@unice.fr]
# Creation date: 27-Sep-1997 20:02
1999-09-05 07:16:41 -04:00
# Last file update: 3-Sep-1999 21:05 (eg)
1998-04-10 06:59:06 -04:00
#
1999-09-05 07:16:41 -04:00
include ../config.make
1998-04-10 06:59:06 -04:00
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
1999-09-05 07:16:41 -04:00
install:
install.libs:
-if [ ! -d $(ardir) ] ; then mkdir -p $(ardir); fi
$(CP) libstack.a $(ardir)
1998-04-10 06:59:06 -04:00
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.* \
1999-02-02 06:13:40 -05:00
Makefile libstack.a testlib libstack.h conftest.c