diff options
author | wsnipex <wsnipex@a1.net> | 2014-05-02 09:53:16 +0200 |
---|---|---|
committer | wsnipex <wsnipex@a1.net> | 2014-05-02 09:53:16 +0200 |
commit | e8cb816febc7948a749c4db4e046650e94843d39 (patch) | |
tree | 63a76c85a2841461f418efc85accae64a8fbe537 /tools/depends/native/JsonSchemaBuilder/Makefile | |
parent | d783038188d169830e52fc7ee905f8a12abb8c46 (diff) |
[Jsonbuilder] properly mark as built
Diffstat (limited to 'tools/depends/native/JsonSchemaBuilder/Makefile')
-rw-r--r-- | tools/depends/native/JsonSchemaBuilder/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/depends/native/JsonSchemaBuilder/Makefile b/tools/depends/native/JsonSchemaBuilder/Makefile index 2503bb5e76..e2fccf7917 100644 --- a/tools/depends/native/JsonSchemaBuilder/Makefile +++ b/tools/depends/native/JsonSchemaBuilder/Makefile @@ -6,12 +6,21 @@ else PREFIX = $(NATIVEPREFIX)/bin endif -all: $(PREFIX)/JsonSchemaBuilder +ifeq ($(NATIVEPLATFORM),) + PLATFORM = native +else + PLATFORM = $(NATIVEPLATFORM) +endif + +all: .installed-$(PLATFORM) $(PREFIX)/JsonSchemaBuilder: make -C src cp src/JsonSchemaBuilder $(PREFIX) clean: - @rm -f JsonSchemaBuilder make -C src clean + @rm -f JsonSchemaBuilder .installed-$(PLATFORM) + +.installed-$(PLATFORM): $(PREFIX)/JsonSchemaBuilder + touch $@ |