fix make run
This commit is contained in:
8
Makefile
8
Makefile
@@ -3,10 +3,16 @@ CFLAGS=-std=c99 -pedantic -Wall -Wextra
|
|||||||
LIBS=-lncursesw
|
LIBS=-lncursesw
|
||||||
EXECUTABLE=bbs
|
EXECUTABLE=bbs
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: make
|
all: make
|
||||||
|
|
||||||
|
|
||||||
make:
|
make:
|
||||||
$(CC) $(CFLAGS) $(LIBS) bbs.c -o $(EXECUTABLE)
|
$(CC) $(CFLAGS) $(LIBS) bbs.c -o $(EXECUTABLE)
|
||||||
|
|
||||||
run:
|
.PHONY: execute
|
||||||
|
execute:
|
||||||
./$(EXECUTABLE)
|
./$(EXECUTABLE)
|
||||||
|
|
||||||
|
.PHONY: run
|
||||||
|
run: make execute
|
||||||
|
Reference in New Issue
Block a user