Made makefile more robust
authorJason Axelson (dell.server) <jason.axelson@gmail.com>
Mon, 27 Apr 2009 03:08:11 +0000 (11:08 +0800)
committerdusanx <ef_dva@yahoo.com>
Mon, 27 Apr 2009 19:26:12 +0000 (03:26 +0800)
By using the .PHONY directive we can avoid errors that appear when there
are already files by that name in the directory.

For example: If we put a file called clean in the directory, than make
clean would not execute because the file 'clean' is already made.

Signed-off-by: dusanx <ef_dva@yahoo.com>

Makefile

index 4f4e6f0..de4fe4d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
 CPPFLAGS=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -Wall -W
 LDFLAGS=$(shell pkg-config --libs gtk+-2.0 webkit-1.0)
+.PHONY: all test clean install
 all: uzbl
 
 test: