build system updates (still WIP)

This commit is contained in:
Mike Connor 2009-07-10 23:32:04 -04:00
parent d752b511cd
commit 0c6f78e988

View File

@ -36,6 +36,8 @@
# #
# ***** END LICENSE BLOCK ***** # ***** END LICENSE BLOCK *****
stage_dir=../dist/stage
sdkdir ?= ${MOZSDKDIR} sdkdir ?= ${MOZSDKDIR}
ifeq ($(sdkdir),) ifeq ($(sdkdir),)
$(warning No 'sdkdir' variable given) $(warning No 'sdkdir' variable given)
@ -47,7 +49,13 @@ endif
all: build all: build
.PHONY: build .PHONY: build crypto rebuild_all
crypto:
$(MAKE) -C src install
build: build:
$(MAKE) -C src install cp -R -v platform $(stage_dir)
cp -R -v components $(stage_dir)
rebuild_all: crypto build