mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2025-01-27 02:43:56 +08:00
44339bdff8
Use new substitution technology which doesn't depend on shell scripts. (Faster, and better for MS-DOS port!)
40 lines
585 B
Makefile
40 lines
585 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:
|
|
$(CC) -c $(ALL_CFLAGS) $< -o $@
|
|
|
|
PROGS= subst
|
|
|
|
all:: $(PROGS)
|
|
|
|
subst: subst.o
|
|
$(CC) $(ALL_LDFLAGS) -o subst subst.o
|
|
|
|
clean:
|
|
$(RM) -f $(PROGS) \#* *.s *.o *.a *~ core
|
|
|
|
mostlyclean: clean
|
|
|
|
distclean: clean
|
|
$(RM) -f .depend Makefile
|
|
|
|
# +++ Dependency line eater +++
|
|
#
|
|
# Makefile dependencies follow. This must be the last section in
|
|
# the Makefile.in file
|
|
#
|
|
subst.o: $(srcdir)/subst.c
|