#
# Makefile - makefile for netboot library
#
# Copyright (C) 1998-2003 Gero Kuhlmann <gero@gkminix.han.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# $Id: Makefile,v 1.1 2003/03/09 00:43:11 gkminix Exp $
#
# Include makefile configuration
include ../make.config
include ../make.rules
# Additional compiler flags
CMODFLAGS = -DDEFAULT_DIR=\"$(nblibdir)\" \
-DDEFAULT_CONFIG=\"$(sysconfdir)/$(nbconfig)\"
# Source abd object files
SRCS = memory.c string.c parseopt.c config.c setup.c \
fileio.c filesize.c filetime.c access.c
OBJS = $(SRCS:.c=.o)
TARGET = libnb.a
# Rules to make the target
all: $(TARGET)
$(TARGET): $(OBJS)
clean: clean-general
distclean: clean
realclean: distclean
syntax highlighted by Code2HTML, v. 0.9.1