From d8c37fbbab3c60dc0ed30c412739ecdd60090109 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 19 Apr 2021 23:31:10 +0430 Subject: [PATCH] Syntax error fixed --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 445c935..0ccbce5 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,13 @@ # -*- Makefile -*- -ifndef $(CFLAGS) +ifndef CFLAGS CFLAGS= -O3 -lncurses -Wno-unused-result #-O3 --std=c99 -lcurses -DNO_MOUSE for NetBSD curses #adding --std=c99 makes warnings in GNU, and the blame is upon glibc feature test macros. my code is correct. endif -ifndef $(GAMES_DIR) +ifndef GAMES_DIR GAMES_DIR=/usr/games endif -ifndef $(SCORES_DIR) +ifndef SCORES_DIR SCORES_DIR=/usr/games endif all: jewels sudoku mines reversi checkers battleship rabbithole sos pipes fifteen memoblocks fisher muncher miketron redsquare darrt snakeduel