From 85e13f3cd762c64c7265a3d108d58cc502e9cc06 Mon Sep 17 00:00:00 2001
From: Arnaud Legrand <alegrand@login3.stampede.tacc.utexas.edu>
Date: Thu, 1 Jun 2017 15:28:39 -0500
Subject: [PATCH] This is a better rule...

---
 src/calibration/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/calibration/Makefile b/src/calibration/Makefile
index 17bdac2..950397e 100644
--- a/src/calibration/Makefile
+++ b/src/calibration/Makefile
@@ -9,8 +9,8 @@ EXEC=calibrate
 
 default: calibrate
 
-calibrate:
-	$(CC) -o $(EXEC)  calibrate.c experiments.c -I. $(LDIR) $(LIBS)
+calibrate: calibrate.c experiments.c 
+	$(CC) -o $@ $^ -I. $(LDIR) $(LIBS)
 
 .PHONY: clean
 
-- 
GitLab