diff options
author | Steven Schubiger <stsc@refcnt.org> | 2013-02-10 20:20:22 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2013-02-10 20:20:22 +0100 |
commit | c4db09c7cb72cf9588968bb120edaa7f6d2313c6 (patch) | |
tree | 863bde488e9f2d1ced3e07254c7ba4e2ee4da1d3 /Makefile | |
parent | 076417960cd0aed4146fd428684113aab2c30878 (diff) | |
download | colorize-c4db09c7cb72cf9588968bb120edaa7f6d2313c6.tar.gz colorize-c4db09c7cb72cf9588968bb120edaa7f6d2313c6.tar.bz2 |
Keep makefile simple
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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 |