From e8cb816febc7948a749c4db4e046650e94843d39 Mon Sep 17 00:00:00 2001 From: wsnipex Date: Fri, 2 May 2014 09:53:16 +0200 Subject: [Jsonbuilder] properly mark as built --- tools/depends/native/JsonSchemaBuilder/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'tools/depends/native/JsonSchemaBuilder/Makefile') 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 $@ -- cgit v1.2.3