You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
934 B

9 years ago
# Copyright (c) 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# GNU Makefile based on shared rules provided by the Native Client SDK.
# See README.Makefiles for more details.
VALID_TOOLCHAINS := pnacl newlib glibc clang-newlib mac
NACL_SDK_ROOT ?= $(abspath $(CURDIR))
TARGET = crypto777
8 years ago
EXTRA= -D__PNACL -O2 -DLIQUIDITY_PROVIDER=1
9 years ago
9 years ago
#include $(NACL_SDK_ROOT)/tools/common.mk
include tools/common.mk
9 years ago
CHROME_ARGS += --allow-nacl-socket-api=127.0.0.1
DEPS = nacl_io
LIBS =
9 years ago
CFLAGS = -Wall -D__PNACL -fno-strict-aliasing $(EXTRA) -I../includes
9 years ago
LFLAGS = libs
9 years ago
include crypto777.sources
9 years ago
# Build rules generated by macros from common.mk:
$(foreach dep,$(DEPS),$(eval $(call DEPEND_RULE,$(dep))))
9 years ago
$(foreach src,$(CRYPTO777_SRCS),$(eval $(call COMPILE_RULE,$(src),$(CFLAGS))))
9 years ago
9 years ago
$(eval $(call LIB_RULE,$(TARGET),$(CRYPTO777_SRCS)))