Mercurial > projects > pk-update-icon
view Makefile @ 6:7539e6e1c299
fix desktop file and arguments order in Makefile
author | Pavol Rusnak <stick@gk2.sk> |
---|---|
date | Thu, 06 Oct 2011 16:02:19 +0200 |
parents | e4ff04df085c |
children | 56a7ed833d0a |
line wrap: on
line source
CC=gcc OBJS=main.o notify.o packagekit.o CFLAGS=$(shell pkg-config --cflags gtk+-2.0 libnotify packagekit-glib2) -Wall -DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE LDFLAGS=$(shell pkg-config --libs gtk+-2.0 libnotify packagekit-glib2) NAME=pk-update-icon all: $(NAME) $(NAME): $(OBJS) $(CC) $(OBJS) $(LDFLAGS) -o $(NAME) %.o: %.c $(CC) -c $< $(CFLAGS) -o $@ clean: rm -f $(OBJS) $(NAME)