From: Jason Axelson (dell.server) Date: Mon, 27 Apr 2009 03:08:11 +0000 (-1000) Subject: Made makefile more robust X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=158043454ca86600bb96e94dd15325431edbf556;p=uzbl-mobile Made makefile more robust 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. --- diff --git a/Makefile b/Makefile index 4f4e6f0..de4fe4d 100644 --- 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: