summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-07-01 21:22:18 +0200
committerLennart Poettering <lennart@poettering.net>2008-07-01 21:22:18 +0200
commit2713325d003f087969f61532d933597f1bed2dfe (patch)
treee6436f086913a7b7890714251dabcf1a389dea77 /Makefile
parent6aff3a351c7f46ed8b0b3c86ac3e0b75dc6a326f (diff)
remove stuff that moved to libatasmart
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index 1e4b1d5..d350dec 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,7 @@
-CFLAGS=-pipe -Wall -W -O0 -g -I.
-LIBS=
+all: smartkitd gnome-disk-health gnome-disk-health.ui
-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. $^
+smartkitd: smartkitd.vala
+ valac --save-temps -g -o $@ --vapidir=. --pkg=libatasmart --pkg=hal --pkg=dbus-glib-1 --Xcc="$(shell pkg-config --cflags --libs libatasmart)" $^
gnome-disk-health: gnome-disk-health.vala
valac --save-temps -g -o $@ --pkg=gtk+-2.0 --pkg=dbus-glib-1 $^
@@ -19,4 +10,4 @@ gnome-disk-health.ui: gnome-disk-health.glade
gtk-builder-convert $< $@
clean:
- rm -f skdump sktest *.o smartkitd gnome-disk-health gnome-disk-health.ui
+ rm -f *.o smartkitd gnome-disk-health gnome-disk-health.ui