diff options
| author | czjstmax <jstmaxlol@disroot.org> | 2026-03-19 17:59:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-19 17:59:04 +0100 |
| commit | 7b28c03528c1100729facbf6775493e1b531b574 (patch) | |
| tree | cf3d4c60c937210f8a9401145ab5780d66a4ca35 | |
| parent | c3b2482da0428b479fae48a32ff9d96cbac4e739 (diff) | |
added debug build
| -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) |