diff options
author | Andi Shyti <andi.shyti@samsung.com> | 2016-12-15 15:12:25 +0900 |
---|---|---|
committer | Andi Shyti <andi.shyti@samsung.com> | 2016-12-15 15:12:25 +0900 |
commit | 1c08abb97d89b2d18be16e3a91fcece94f759817 (patch) | |
tree | e32d7ff2c857f2a00f96ddedb10eaac622bdaa15 | |
parent | 4724b34bfce6fd525be0595e62e5eafad4658fa3 (diff) |
Makefile: make TARGET variable as main file reference
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ -SRC = is.c -FLAGS = -g -Wall TARGET = is +SRC = $(TARGET).c +FLAGS = -g -Wall $(TARGET): cc $(FLAGS) $(SRC) -o $(TARGET) |