# ****************************
# * Example of User Makefile *
# ****************************

# First of all include Torch/Makefile_options:
# (MAKE SURE TO SPECIFY CORRECT LOCATION)

OS := $(shell uname -s)
TORCHDIR := $(shell cd ..; pwd)
include ../Makefile_options_$(OS)

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

%: %.cc
	cd ..; ${MAKE}
	mkdir -p $(VERSION_KEY)
	$(CC) $(CFLAGS_$(MODE)) $(INCS) -o $(VERSION_KEY)/$@ $< $(LIBS)
