diff options
author | Steven Schubiger <stsc@refcnt.org> | 2013-08-18 22:44:00 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2013-08-18 22:44:00 +0200 |
commit | 98b2100b8ed0e2a3ed1590841c896d1c42dc01c6 (patch) | |
tree | 444c30c007b624c2a8481a88c6652b8f85f53f5b | |
parent | fafbaa593cf17b107a4892e03410999234493eea (diff) | |
download | colorize-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)
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |