summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-09-30 10:18:25 +0200
committerHarald Hoyer <harald@redhat.com>2009-09-30 10:18:25 +0200
commit5cf5569d6e93288f699cdde1af61fe0d8d3b7fd0 (patch)
treea8fae27fccaaa2647b519a5ca3993a454e81aad8 /Makefile
parentb4391067ff786e0a93b8e962ace233fd8e712012 (diff)
downloaddracut-5cf5569d6e93288f699cdde1af61fe0d8d3b7fd0.tar.gz
dracut-5cf5569d6e93288f699cdde1af61fe0d8d3b7fd0.tar.bz2
dracut-5cf5569d6e93288f699cdde1af61fe0d8d3b7fd0.zip
Makefile: reorder targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f6d162fe..ea11a13c 100644
--- 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)