mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2025-01-27 02:43:56 +08:00
5c36a2f85b
Makefile.in (distclean): Remove TAGS and Makefile.in.old from the source directory. Also, when making the .exclude file for the source_tar_file, exclude those two files as well. Makefile.in (distclean): Remove TAGS and Makefile.in.old from the source directory.
40 lines
638 B
Makefile
40 lines
638 B
Makefile
#
|
|
# Standard e2fsprogs prologue....
|
|
#
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
top_builddir = ..
|
|
my_dir = util
|
|
INSTALL = @INSTALL@
|
|
|
|
SRCS = $(srcdir)/subst.c
|
|
|
|
@MCONFIG@
|
|
|
|
.c.o:
|
|
$(BUILD_CC) -c $(ALL_CFLAGS) $< -o $@
|
|
|
|
PROGS= subst
|
|
|
|
all:: $(PROGS)
|
|
|
|
subst: subst.o
|
|
$(BUILD_CC) $(ALL_LDFLAGS) -o subst subst.o
|
|
|
|
clean:
|
|
$(RM) -f $(PROGS) \#* *.s *.o *.a *~ core
|
|
|
|
mostlyclean: clean
|
|
|
|
distclean: clean
|
|
$(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
|
|
|
|
# +++ Dependency line eater +++
|
|
#
|
|
# Makefile dependencies follow. This must be the last section in
|
|
# the Makefile.in file
|
|
#
|
|
subst.o: $(srcdir)/subst.c
|