From 93f237d71e080512442399b444357dfa7b6f1822 Mon Sep 17 00:00:00 2001 From: M.Gergő Date: Fri, 15 May 2020 04:15:18 +0200 Subject: Backported to c89 --- makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index a01a0dd..8cab41f 100644 --- a/makefile +++ b/makefile @@ -6,7 +6,8 @@ LD = gcc # néhány apróság: MKD = /bin/mkdir -p -RM = /bin/rm +# A '-' jel miatt átugorja a hibát +RM = -/bin/rm # fordíto általános flagek @@ -29,7 +30,7 @@ all: $(PROG) # debug-hoz felüldefiniálva -debug: CFLAGS = -Wall -g -g3 -ggdb -Wpedantic -Wmissing-prototypes +debug: CFLAGS = -Wall -g -g3 -ggdb -std=c89 -Wpedantic -Wmissing-prototypes debug: LDFLAGS = debug: LDLIBS = -lefence # nem mindegy, hogy mellette van, vagy alatta egy sorral! -- cgit v1.2.3