1 2 3 4 5 6 7 8 9
all: csweeper ncsweeper csweeper: csweeper.c cc -g -Wall -Wextra -std=c99 -o csweeper csweeper.c ncsweeper: ncsweeper.c cc -g -Wall -Wextra -std=c99 -lncurses -o ncsweeper ncsweeper.c clean: @rm -f csweeper ncsweeper @rm -f *.o