05d1fac780
reasonable distclean and maintainer-clean targets. This fixes the last part of SF bug #430942.
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
################################################################
|
|
# Process this file with top-level configure script to produce Makefile
|
|
#
|
|
# Copyright 2000 Clark Cooper
|
|
#
|
|
# This file is part of EXPAT.
|
|
#
|
|
# EXPAT is free software; you can redistribute it and/or modify it
|
|
# under the terms of the License (based on the MIT/X license) contained
|
|
# in the file COPYING that comes with this distribution.
|
|
#
|
|
# EXPAT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
# SOFTWARE OR THE USE OR OTHER DEALINGS IN EXPAT.
|
|
#
|
|
LIBDIR = ../lib/.libs
|
|
INCDIR = ../lib
|
|
|
|
LDFLAGS = @LDFLAGS@ -static
|
|
LIBS = -L$(LIBDIR) -lexpat
|
|
CFLAGS = @CFLAGS@ -I$(INCDIR)
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
|
|
all: elements
|
|
|
|
elements: elements.o
|
|
$(CC) -o elements elements.o $(LDFLAGS) $(LIBS)
|
|
|
|
check: $(SUBDIRS)
|
|
@echo
|
|
@echo This package does not yet have a regression test.
|
|
@echo
|
|
|
|
clean:
|
|
rm -f elements core *.o
|
|
|
|
distclean: clean
|
|
rm -r Makefile
|
|
|
|
maintainer-clean: distclean
|