File: Makefile

package info (click to toggle)
torch3 3.1-2.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 2,972 kB
  • ctags: 2,743
  • sloc: cpp: 24,245; python: 299; makefile: 153
file content (18 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Torch user Makefile example
#

# Torch location.
# Make sure to specify correct location...

#TORCHDIR := $(shell cd ../..; pwd)

#
# All that follows you can probably keep as is...
#

#OS := $(shell uname -s | tr '/' '_')
include Makefile_options_Debian

%: %.cc
	$(CC) $(CFLAGS_$(MODE)) -ltorch $< -o $@