diff options
| author | czjstmax <jstmaxlol@disroot.org> | 2026-03-19 18:44:16 +0100 |
|---|---|---|
| committer | czjstmax <jstmaxlol@disroot.org> | 2026-03-19 18:44:16 +0100 |
| commit | 7ae762e4f146f4d97bf8d50b6569c5cfcb622c7e (patch) | |
| tree | 697cdb2b736447003522bc1158a64b9b35e37ddc /Makefile | |
| parent | 34938a8148dfca66c4d74b1bab1c70f6ba855fb8 (diff) | |
added debug stuff and fixed ^C
Signed-off-by: czjstmax <jstmaxlol@disroot.org>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,11 +1,15 @@ CC = gcc IN = nm.c OUT = nshm -LIBS = -lreadline -OPTS = -O0 -g -Wall -Wextra -pedantic +LIBS = -lreadline +OPTS = -O2 -Wall -Wextra -pedantic +OPTSDBG = -O0 -g -Wall -Wextra -pedantic + +debug: + $(CC) -o$(OUT) $(LIBS) $(OPTSDBG) $(IN) all: - $(CC) -o$(OUT) $(LIBS) $(OPTS) $(IN) + $(CC) -o$(OUT) $(LIBS) $(OPTS) $(IN) run: all ./$(OUT) |