Mercurial > projects > pk-update-icon
comparison Makefile @ 0:f5e03fc667f8
initial commit
author | Pavol Rusnak <stick@gk2.sk> |
---|---|
date | Mon, 26 Sep 2011 18:52:04 +0200 |
parents | |
children | 9126094c5ef0 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f5e03fc667f8 |
---|---|
1 CC=gcc | |
2 OBJS=main.o notify.o packagekit.o | |
3 CFLAGS=$(shell pkg-config --cflags packagekit-glib2 gtk+-3.0) -Wall -DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE | |
4 LDFLAGS=$(shell pkg-config --libs packagekit-glib2 gtk+-3.0) -lnotify | |
5 NAME=pk-update-icon | |
6 | |
7 all: $(NAME) | |
8 | |
9 $(NAME): $(OBJS) | |
10 $(CC) $(LDFLAGS) $(OBJS) -o $(NAME) | |
11 | |
12 %.o: %.c | |
13 $(CC) $(CFLAGS) -c $< -o $@ | |
14 | |
15 clean: | |
16 rm -f $(OBJS) $(NAME) |