From: Harald Hoyer Date: Wed, 30 Sep 2009 08:18:25 +0000 (+0200) Subject: Makefile: reorder targets X-Git-Tag: 003~152 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5cf5569d6e93288f699cdde1af61fe0d8d3b7fd0;p=thirdparty%2Fdracut.git Makefile: reorder targets --- diff --git a/Makefile b/Makefile index f6d162fe9..ea11a13c5 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)