diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2009-02-05 19:21:55 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@kernel.crashing.org> | 2009-02-05 19:21:55 +0100 |
commit | 3c0a1ab258ef0d2fb03cfa8b42fa47a591138187 (patch) | |
tree | b28549f152b96d502821e403a056ea398fda1207 /Makefile | |
parent | d6ba811594307a9baba071e062327b241d1abae2 (diff) |
Some cleanups for the Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -6,6 +6,7 @@ LDFLAGS := -g PLATFORM := sdl # Default targets. +.PHONY: all all: un-disas uuu-$(PLATFORM) # The disassembler. @@ -27,18 +28,21 @@ is-osx = $(shell set -e; \ ifeq ($(is-osx),yes) uuu-sdl: dialog-cocoa.o -all: bundle +all: .stamp-bundle -bundle: uuu-sdl +.PHONY: .stamp-bundle +.stamp-bundle: uuu-sdl -mkdir -p Unununium.app/Contents/Resources/ROMs -mkdir -p Unununium.app/Contents/MacOS cp uuu-sdl Unununium.app/Contents/MacOS/ + touch $@ endif # Laziness rules, and lazy rules rule most of all. *.o: *.h # Clean up. +.PHONY: clean clean: rm -f un-disas un-disas.o disas.o emu.o video.o audio.o io.o rm -f uuu-sdl uuu-sdl.o platform-sdl.o dialog-cocoa.o |