]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Makefile: reorder targets
authorHarald Hoyer <harald@redhat.com>
Wed, 30 Sep 2009 08:18:25 +0000 (10:18 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 30 Sep 2009 08:18:25 +0000 (10:18 +0200)
Makefile

index f6d162fe9b488a037278de0fd86ecb64810b3816..ea11a13c52f87c29ea578918ae5133433e385a39 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,12 +8,13 @@ sysconfdir ?= ${prefix}/etc
 sbindir ?= ${prefix}/sbin
 mandir ?= ${prefix}/share/man
 
-modules.d/99base/switch_root: switch_root.c
-       gcc -D _GNU_SOURCE -D 'PACKAGE_STRING="dracut"' -std=gnu99 -fsigned-char -g -O2 -o modules.d/99base/switch_root switch_root.c   
+
+.PHONY: install clean archive rpm testimage test all check
 
 all: modules.d/99base/switch_root
 
-.PHONY: install clean archive rpm testimage test all check
+modules.d/99base/switch_root: switch_root.c
+       gcc -D _GNU_SOURCE -D 'PACKAGE_STRING="dracut"' -std=gnu99 -fsigned-char -g -O2 -o modules.d/99base/switch_root switch_root.c   
 
 install:
        mkdir -p $(DESTDIR)$(pkglibdir)