forked from jeremybarnes/jml
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (31 loc) · 789 Bytes
/
Makefile
File metadata and controls
40 lines (31 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Makefile for Jeremy's Machine Learning library
# Copyright (c) 2006 Jeremy Barnes. All rights reserved.
FC=gfortran
-include local.mk
LOCAL_DIR?=$(HOME)/local
LOCAL_LIB_DIR?=$(LOCAL_DIR)/lib /usr/local/lib
LOCAL_INCLUDE_DIR?=$(LOCAL_DIR)/include
default: all
.PHONY: default
BUILD ?= ./build
ARCH ?= $(shell uname -m)
OBJ := $(BUILD)/$(ARCH)/obj
BIN := $(BUILD)/$(ARCH)/bin
TESTS := $(BUILD)/$(ARCH)/tests
SRC := .
PWD := $(shell pwd)
TEST_TMP:= $(TESTS)
JML_TOP := .
JML_BUILD := ./jml-build
INCLUDE := -I.
export BUILD
export BIN
export JML_TOP
export JML_BUILD
export TEST_TMP
include $(JML_BUILD)/arch/$(ARCH).mk
include $(JML_BUILD)/functions.mk
include $(JML_BUILD)/rules.mk
include $(JML_BUILD)/python.mk
include $(JML_BUILD)/node.mk
include $(JML_TOP)/jml.mk