Build & run the test suite.

This commit is contained in:
Fred L. Drake, Jr. 2001-08-17 19:16:41 +00:00
parent ed9b8e0d46
commit cc89b6f763

21
expat/tests/Makefile.in Normal file
View File

@ -0,0 +1,21 @@
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
CC=@CC@
CPPFLAGS = @CPPFLAGS@ -I../lib
LDFLAGS = @LDFLAGS@ -L../lib
LIBS = @LIBS@ -lexpat -lcheck
CFLAGS = @CFLAGS@
check: runtests
@./runtests
runtests.o: runtests.c
$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
runtests: runtests.o
$(CC) $(LDFLAGS) $< -o $@ $(LIBS)