commit 2068e1ccb9b30f5aca75f05b80e297084d126af2 from: Benjamin Stürz date: Thu Nov 21 09:34:12 2024 UTC define top-level CFLAGS commit - bd4b153ae4e3d8a9e99de300b22a7ca059db49de commit + 2068e1ccb9b30f5aca75f05b80e297084d126af2 blob - 00d537b8ff2a336b051fa138c5e8138488ae27e8 blob + 2e656fa62922f8fc276f85be6f1b08d0ccd07af6 --- MyMakefile +++ MyMakefile @@ -6,6 +6,10 @@ CC ?= cc ## Path to Yacc YACC ?= ${TOP}/tools/bin/yacc +## Default C Compiler Flags +CFLAGS ?= -O2 +CFLAGS += -ansi -Wall -Wno-deprecated-non-prototype -Wno-implicit-int + ## Build everything all: make sys cc @@ -34,6 +38,7 @@ todo: .export CC .export TOP .export YACC +.export CFLAGS .include make .include cc .include sys