From 7accae778e7f06317c3aa8d4c2fcdaa24cb1c093 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Tue, 8 Jun 2021 15:25:32 +0300 Subject: chore: use run as default make command --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 10e7c66..d940580 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,11 @@ OBJECTS=$(patsubst $(SRC)/%.c, $(OBJ)/%.o, $(SOURCES)) BIN=main +run: $(BIN) + ./$(BIN) + +build: $(BIN) + $(BIN): $(OBJECTS) $(CC) $(OBJECTS) -o $(BIN) -- cgit v1.2.3