diff options
| -rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,11 +1,14 @@ CC = gcc IN = nosh.c OUT = nsh -LIBS = -OPTS = -O0 -g -Wall -Wextra -pedantic +OPTS = -O2 -Wall -Wextra -pedantic +OPTSDBG = -O0 -g -Wall -Wextra -pedantic + +debug: + $(CC) -o$(OUT) $(OPTSDBG) $(IN) all: - $(CC) -o$(OUT) $(LIBS) $(OPTS) $(IN) + $(CC) -o$(OUT) $(OPTS) $(IN) run: all ./$(OUT) |