diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-04-10 17:02:49 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-04-10 17:02:49 +0100 |
commit | b5fa90ac8ea579eb2b4223051e3c35d78a7b28b2 (patch) | |
tree | 51768b133193fd10c1ea4d715f000163a107018a /extras | |
parent | 0198288b1f5f296f043439bd647877effb870df7 (diff) | |
parent | 224cab0dfd3e7696fec21acf5e0cd821328fbe49 (diff) | |
download | xen-b5fa90ac8ea579eb2b4223051e3c35d78a7b28b2.tar.gz xen-b5fa90ac8ea579eb2b4223051e3c35d78a7b28b2.tar.bz2 xen-b5fa90ac8ea579eb2b4223051e3c35d78a7b28b2.zip |
build: Clean up use of .PHONY
* Move .PHONY directives next to targets,
this makes them a lot harder to miss
* Add missing .PHONY directives
* Remove nonexistent .PHONY directives
* Hopefully I didn'T miss anything...
Signed-Off-By: Horms <horms@verge.net.au>
Diffstat (limited to 'extras')
-rw-r--r-- | extras/mini-os/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/mini-os/Makefile b/extras/mini-os/Makefile index d541677f97..2271f00be2 100644 --- a/extras/mini-os/Makefile +++ b/extras/mini-os/Makefile @@ -37,8 +37,10 @@ OBJS += $(patsubst %.c,%.o,$(wildcard console/*.c)) HDRS := $(wildcard include/*.h) HDRS += $(wildcard include/xen/*.h) +.PHONY: default default: $(TARGET) +.PHONY: links links: [ -e include/xen ] || ln -sf ../../../xen/include/public include/xen @@ -46,6 +48,7 @@ $(TARGET): links $(OBJS) $(LD) -N -T minios-$(TARGET_ARCH).lds $(OBJS) -o $@.elf gzip -f -9 -c $@.elf >$@.gz +.PHONY: clean clean: find . -type f -name '*.o' | xargs rm -f rm -f *.o *~ core $(TARGET).elf $(TARGET).raw $(TARGET) $(TARGET).gz |