From c4db09c7cb72cf9588968bb120edaa7f6d2313c6 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Sun, 10 Feb 2013 20:20:22 +0100 Subject: [PATCH 1/1] Keep makefile simple --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 57b59fa..41b8450 100644 --- a/Makefile +++ b/Makefile @@ -7,14 +7,11 @@ SHELL=/bin/sh CC=gcc CFLAGS=-Wall -Wextra -Wformat -Wswitch-default -Wuninitialized -Wunused -Wno-unused-function -Wno-unused-parameter -colorize: colorize.o - $(CC) -o $@ $< - -colorize.o: colorize.c - $(CC) $(CFLAGS) -c $< -DCFLAGS="$(CFLAGS)" +colorize: colorize.c + $(CC) $(CFLAGS) -o $@ $< -DCFLAGS="$(CFLAGS)" check: perl ./test.pl clean: - [ -e colorize.o ] && rm colorize.o; exit 0 + [ -e colorize ] && rm colorize; exit 0 -- 2.39.5