simple/errno/GNUmakefile

49 lines
1.0 KiB
Makefile
Raw Normal View History

2016-07-05 21:52:03 +02:00
# $Id: GNUmakefile,v 1.8 2016-07-05 19:52:03 hjp Exp $
# $Log: GNUmakefile,v $
2016-07-05 21:52:03 +02:00
# Revision 1.8 2016-07-05 19:52:03 hjp
# Add target distclean
#
# Revision 1.7 2011-01-30 19:41:15 hjp
# Replaced GNUmakerules.sh with GNUmakerules.pl because Debian now uses a
# /bin/sh which doesn't understand echo -e.
#
2011-01-30 20:33:28 +01:00
# Revision 1.6 2011-01-30 19:33:28 hjp
# removed duplicate rules
#
2011-01-30 20:32:33 +01:00
# Revision 1.5 2011-01-30 19:32:33 hjp
# create GNUmakerules and GNUmakevars
#
2008-04-05 12:04:53 +02:00
# Revision 1.4 2008-04-05 10:04:53 hjp
# added GNUmake*.sh
#
# Revision 1.3 2003/02/14 11:59:43 hjp
2003-02-14 12:59:43 +01:00
# Added list of #defines from HP-UX.
#
# Revision 1.2 1998/05/31 01:20:06 hjp
# GNUmakerules split into GNUmakerules and GNUmakevars.
#
include GNUmakevars
all: errno
2003-02-14 12:59:43 +01:00
errno: errno.o errno_list.o
errno_list.c: errno.list make_errno_list
./make_errno_list
clean:
rm errno
2008-04-05 12:04:53 +02:00
2016-07-05 21:52:03 +02:00
distclean: clean
rm -f GNUmakevars GNUmakerules errno_list.c
install: $(BINDIR)/errno
2008-04-05 12:04:53 +02:00
2011-01-30 20:32:33 +01:00
GNUmakevars: GNUmakevars.sh
sh ./$^ > $@
GNUmakerules: GNUmakerules.pl
perl ./$^ > $@
2011-01-30 20:32:33 +01:00
2008-04-05 12:04:53 +02:00
include GNUmakerules
2011-01-30 20:32:33 +01:00
-include *.d