From 98b2100b8ed0e2a3ed1590841c896d1c42dc01c6 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Sun, 18 Aug 2013 22:44:00 +0200 Subject: Avoid gmake specific Makefile idiom Example make failure: Using $< in a non-suffix rule context is a GNUmake idiom (line 11 of Makefile) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3