www.nico.schottelius.org/software/cinit/browse_source/cinit-0.2/Makefile.include
Nico Schottelius 423ba10303 import cinit from unix.schottelius.org
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-09-16 12:53:45 +02:00

24 lines
447 B
Makefile

#
# cinit
# Nico Schottelius
#
# Don't edit Makefiles, use conf/* for configuration.
#
#
# compile/link options
#
# do not use DEBUG and OPTIMIZE at the same time!
#DEBUG=-DDEBUG
OPTIMIZE=-Werror
#DEBUG=-g -DDEBUG
OPTIMIZE=-pipe -Os -Werror
# init should be static per default! - but not the other programs!
CINIT_LDFLAGS=-static
# programs
CC=gcc $(DEBUG) $(OPTIMIZE) $(TIMEME)
CFLAGS=-Wall -I.
LD=gcc
STRIP=strip -R .comment -R .note