[hackers] [sbase] Make Makefile possibly POSIX-conformant || "Robert Ransom

From: <hg_AT_suckless.org>
Date: Tue, 22 May 2012 13:08:44 +0200 (CEST)

changeset: 121:795867539759
user: "Robert Ransom <rransom.8774_AT_gmail.com>"
date: Wed May 16 12:14:02 2012 +0000
files: Makefile
description:
Make Makefile possibly POSIX-conformant

FreeBSD make still refuses to handle the ".o:" 'single-suffix inference rule'.


diff -r b0bef278e74c -r 795867539759 Makefile
--- a/Makefile Tue May 15 13:34:32 2012 +0100
+++ b/Makefile Wed May 16 12:14:02 2012 +0000
_AT_@ -1,5 +1,8 @@
 include config.mk
 
+.POSIX:
+.SUFFIXES: .c .o
+
 HDR = fs.h text.h util.h arg.h
 LIB = \
         util/afgets.o \
Received on Tue May 22 2012 - 13:08:44 CEST

This archive was generated by hypermail 2.3.0 : Tue May 22 2012 - 13:12:06 CEST