aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org>2013-08-18 22:44:00 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org>2013-08-18 22:44:00 +0200
commit98b2100b8ed0e2a3ed1590841c896d1c42dc01c6 (patch)
tree444c30c007b624c2a8481a88c6652b8f85f53f5b /Makefile
parentfafbaa593cf17b107a4892e03410999234493eea (diff)
downloadcolorize-98b2100b8ed0e2a3ed1590841c896d1c42dc01c6.tar.gz
colorize-98b2100b8ed0e2a3ed1590841c896d1c42dc01c6.tar.bz2
Avoid gmake specific Makefile idiom
Example make failure: Using $< in a non-suffix rule context is a GNUmake idiom (line 11 of Makefile)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 41b8450..7fa8447 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ CC=gcc
CFLAGS=-Wall -Wextra -Wformat -Wswitch-default -Wuninitialized -Wunused -Wno-unused-function -Wno-unused-parameter
colorize: colorize.c
- $(CC) $(CFLAGS) -o $@ $< -DCFLAGS="$(CFLAGS)"
+ $(CC) $(CFLAGS) -o colorize colorize.c -DCFLAGS="$(CFLAGS)"
check:
perl ./test.pl