Sha256: e3aa609e08dd1a3f27721233ef5c12be33385af52f5a9c8ee3fb78437e9ee3ec
Contents?: true
Size: 498 Bytes
Versions: 7
Compression:
Stored size: 498 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 clean: rm -rf ${BUILD_DIR} ${BUILD_DIR}/main: ${SRC_DIR}/main.c ${SRC_DIR}/foo.c ${CC} $< -o $@ run: ./build/main test: setup -include ${TEST_MAKEFILE}
Version data entries
7 entries across 7 versions & 1 rubygems