Source

hello / c++ / OMakefile

Full commit
.PHONY: all install clean

# .SUBDIRS:

########################################################################
# C configuration.
# Delete this section if you are not building C files.
#

################################################
# Configuration.  You might want to modify any of these
# configuration variables.
#

# CFLAGS +=
# ASFLAGS +=
# LDFLAGS +=
# INCLUDES +=

################################################
# Uncomment the following section if you want
# to build a C program in the current directory.
#
DEPS[] = 
    $(CXXProg.new where.out, where, '')
    $(CXXProg.new vector_test.out, vector_test, '')
    $(CXXProg.new sandwitch.out, sandwitch, '')
    $(CXXProg.new checkRandomness.out, checkRandomness, '')
    $(CXXProg.new hdfs_test, hdfs_test, '-I{HADOOP_HOME}/')

DEPS.foreach(prog)
    prog.dep()
    export

.DEFAULT: hdfs_test # $(CProgram $(MAIN), $(CFILES))
	./hdfs_test

################################################
# Uncomment the following section if you want to build a C library
# in the current directory.
#

# LIBFILES[] =
#    file1
#    file2
#
# LIB = libxxx
#
# .DEFAULT: $(StaticCLibrary $(LIB), $(LIBFILES))