From 1c08abb97d89b2d18be16e3a91fcece94f759817 Mon Sep 17 00:00:00 2001 From: Andi Shyti Date: Thu, 15 Dec 2016 15:12:25 +0900 Subject: Makefile: make TARGET variable as main file reference Signed-off-by: Andi Shyti --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0b49396..148507b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -SRC = is.c -FLAGS = -g -Wall TARGET = is +SRC = $(TARGET).c +FLAGS = -g -Wall $(TARGET): cc $(FLAGS) $(SRC) -o $(TARGET) -- cgit v1.2.3