From f671a647e5480a709f09a66252995bf07e512e32 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 30 Jun 2008 21:50:56 +0200 Subject: a lot of love --- Makefile | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6621354..687adb5 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,22 @@ -CFLAGS=`pkg-config --cflags glib-2.0` -pipe -Wall -W -O0 -g +CFLAGS=`pkg-config --cflags glib-2.0` -pipe -Wall -W -O0 -g -I. LIBS=`pkg-config --libs glib-2.0` +all: skdump sktest smartkitd gnome-disk-health gnome-disk-health.ui + skdump: smart.o skdump.o $(CC) -o $@ $^ $(CFLAGS) $(LIBS) +sktest: smart.o sktest.o + $(CC) -o $@ $^ $(CFLAGS) $(LIBS) + +smartkitd: smart.c smartkitd.vala + valac --save-temps -g -o $@ --vapidir=. --pkg=smart --pkg=hal --pkg=dbus-glib-1 --Xcc=-I. $^ + +gnome-disk-health: gnome-disk-health.vala + valac --save-temps -g -o $@ --pkg=gtk+-2.0 --pkg=dbus-glib-1 $^ + +gnome-disk-health.ui: gnome-disk-health.glade + gtk-builder-convert $< $@ + clean: - rm -f skdump *.o + rm -f skdump sktest *.o smartkitd gnome-disk-health gnome-disk-health.ui -- cgit