Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb07046

Browse files
committed
If we're gonna have people running make from the top directory now,
we'd better have a Makefile here to prevent the mistake of using vannilla make instead of gmake. (But let's leave src/Makefile where it is, too.)
1 parent ae526b4 commit fb07046

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# The Postgres make files exploit features of GNU make that other makes
2+
# do not have. Because it is a common mistake for users to try to build
3+
# Postgres with a different make, we have this make file that does nothing
4+
# but tell the user to use GNU make.
5+
6+
# If the user were using GNU make now, this file would not get used because
7+
# GNU make uses a make file named "GNUmakefile" in preference to "Makefile"
8+
# if it exists. Postgres is shipped with a "GNUmakefile".
9+
10+
all install clean dep depend distclean:
11+
@echo "You must use GNU make to use Postgres. It may be installed"
12+
@echo "on your system with the name 'gmake'."
13+
@echo
14+
@echo "NOTE: If you are sure that you are using GNU make and you are"
15+
@echo " still getting this message, you may simply need to run"
16+
@echo " the configure program."

0 commit comments

Comments
 (0)