diff --git a/Makefile b/Makefile index f5dfda1..4398c83 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ EXAMPLES := $(notdir $(shell find $(EXAMPLES_DIR)/* -maxdepth 0 -type d)) EXAMPLES_SOURCE_FILES := $(shell find $(EXAMPLES_DIR) -name *.pony) EXAMPLES_BINARIES := $(addprefix $(BUILD_DIR)/,$(EXAMPLES)) -test: unit-tests integration-tests build-examples +test: unit-tests integration-tests examples unit-tests: $(tests_binary) $^ --exclude=integration/ --sequential @@ -42,7 +42,7 @@ $(tests_binary): $(SOURCE_FILES) | $(BUILD_DIR) $(GET_DEPENDENCIES_WITH) $(PONYC) -o $(BUILD_DIR) $(SRC_DIR) -build-examples: $(EXAMPLES_BINARIES) +examples: $(EXAMPLES_BINARIES) $(EXAMPLES_BINARIES): $(BUILD_DIR)/%: $(SOURCE_FILES) $(EXAMPLES_SOURCE_FILES) | $(BUILD_DIR) $(GET_DEPENDENCIES_WITH) @@ -78,4 +78,4 @@ $(BUILD_DIR): $(COVERAGE_DIR): mkdir -p $(COVERAGE_DIR) -.PHONY: all build-examples clean docs TAGS test coverage +.PHONY: all examples clean docs TAGS test coverage