summaryrefslogtreecommitdiff
path: root/ufs-fsck/Makefile
blob: ef8919a93d836d0ceb2e7eaa09b0692c44a82d37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 
#   Copyright (C) 1994 Free Software Foundation
#   Written by Michael I. Bushnell.
#
#   This file is part of the GNU Hurd.
#
#   The GNU Hurd 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, or (at
#   your option) any later version.
#
#   The GNU Hurd 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.

dir := fsck
makemode := utility

SRCS = dir.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
	pass5.c setup.c utilities.c inode.c
OBJS = $(subst .c,.o,$(SRCS)) tables.o
LCLHDRS = fsck.h
target = fsck

include ../Makeconf

$(OBJS): fsck.h

tables.o: ../ufs/tables.c
	$(CC) $(CFLAGS) -c -o $@ $<