diff options
author | eug-vs <eug-vs@keemail.me> | 2021-06-08 15:25:32 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-06-08 15:25:32 +0300 |
commit | 7accae778e7f06317c3aa8d4c2fcdaa24cb1c093 (patch) | |
tree | ee55b3687f568fc4e8ed2667fd69f290592ca96b /Makefile | |
parent | 8162253d751a8b2037757f0ef6139f93ef6cef0d (diff) | |
download | c-chess-7accae778e7f06317c3aa8d4c2fcdaa24cb1c093.tar.gz |
chore: use run as default make command
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -6,6 +6,11 @@ OBJECTS=$(patsubst $(SRC)/%.c, $(OBJ)/%.o, $(SOURCES)) BIN=main +run: $(BIN) + ./$(BIN) + +build: $(BIN) + $(BIN): $(OBJECTS) $(CC) $(OBJECTS) -o $(BIN) |