Mercurial > projects > pk-update-icon
comparison Makefile @ 15:c7eac2574c76
add clobber target
author | Guido Berhoerster <guido@berhoerster.name> |
---|---|
date | Thu, 20 Oct 2011 09:06:52 +0200 |
parents | 64f05992d8ec |
children | 7af115023d5a |
comparison
equal
deleted
inserted
replaced
14:64f05992d8ec | 15:c7eac2574c76 |
---|---|
29 -DLOCALEDIR="\"$(localedir)\"" | 29 -DLOCALEDIR="\"$(localedir)\"" |
30 LDLIBS := $(shell pkg-config --libs gtk+-2.0 unique-1.0 libnotify packagekit-glib2) | 30 LDLIBS := $(shell pkg-config --libs gtk+-2.0 unique-1.0 libnotify packagekit-glib2) |
31 | 31 |
32 .DEFAULT_TARGET = all | 32 .DEFAULT_TARGET = all |
33 | 33 |
34 .PHONY: all clean install | 34 .PHONY: all clean clobber install |
35 | 35 |
36 all: $(PACKAGE) $(MOFILES) $(AUTOSTART_FILE) | 36 all: $(PACKAGE) $(MOFILES) $(AUTOSTART_FILE) |
37 | 37 |
38 $(PACKAGE): $(OBJS) | 38 $(PACKAGE): $(OBJS) |
39 $(LINK.o) $^ $(LDLIBS) -o $@ | 39 $(LINK.o) $^ $(LDLIBS) -o $@ |
74 $(DESTDIR)$(mandir)/man1/$(PACKAGE).1 | 74 $(DESTDIR)$(mandir)/man1/$(PACKAGE).1 |
75 | 75 |
76 clean: | 76 clean: |
77 rm -f $(PACKAGE) $(OBJS) $(POTFILE) $(MOFILES) $(AUTOSTART_FILE) | 77 rm -f $(PACKAGE) $(OBJS) $(POTFILE) $(MOFILES) $(AUTOSTART_FILE) |
78 | 78 |
79 clobber: clean | |
80 rm -f *.P | |
81 | |
79 -include $(patsubst %.o,%.P,$(OBJS)) | 82 -include $(patsubst %.o,%.P,$(OBJS)) |