fix make run

This commit is contained in:
2025-07-15 13:53:20 -04:00
parent 4d05f75716
commit 2fbefc544d

View File

@@ -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