From 8eaacaed7787090e01d25dd221eee2d4ea19df31 Mon Sep 17 00:00:00 2001 From: Charles Mita Date: Tue, 29 Jan 2019 14:11:20 +0000 Subject: [PATCH] Set plugin target as the default target in Makefile This makes "make" build only the most useful software by default. Building the test_plugin target requires fortran and openmp, which are otherwise not required for the durin plugin itself, and is not of interest to most building the software. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ae5825a..4c3fb78 100644 --- a/Makefile +++ b/Makefile @@ -10,12 +10,12 @@ BSLZ4_INC_DIR = $(BSLZ4_SRC_DIR) CC=h5cc CFLAGS=-Wall -g -O2 -fpic -I$(INC_DIR) -I$(BSLZ4_INC_DIR) -std=c89 -.PHONY: all -all: plugin example test_plugin - .PHONY: plugin plugin: $(BUILD_DIR)/durin-plugin.so +.PHONY: all +all: plugin example test_plugin + .PHONY: example example: $(BUILD_DIR)/example