Sha256: f0aa8239cc2fe0c31f87ae05d9d115a1c163aef115280a3fd86d00cbcf6ff674
Contents?: true
Size: 515 Bytes
Versions: 4
Compression:
Stored size: 515 Bytes
Contents
CC ?= gcc BUILD_DIR ?= ./build SRC_DIR ?= ./src TEST_DIR ?= ./test TEST_BUILD_DIR ?= ${BUILD_DIR}/test TEST_MAKEFILE = ${TEST_BUILD_DIR}/MakefileTestSupport OBJ ?= ${BUILD_DIR}/obj OBJ_DIR = ${OBJ} default: all all: setup test ${BUILD_DIR}/main run setup: mkdir -p ${BUILD_DIR} mkdir -p ${OBJ} ruby ../../scripts/create_makefile.rb --silent clean: rm -rf ${BUILD_DIR} ${BUILD_DIR}/main: ${SRC_DIR}/main.c ${SRC_DIR}/foo.c ${CC} $< -o $@ run: ./build/main || true test: setup -include ${TEST_MAKEFILE}
Version data entries
4 entries across 4 versions & 1 rubygems