mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 10:21:20 +00:00
- Get rid of -Werror; it breaks to many people's builds. It can be passed in with make variable WERROR if needed. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@127
26 lines
582 B
Makefile
26 lines
582 B
Makefile
INCLUDES = -I$(top_srcdir)
|
|
|
|
CFLAGS = $(WERROR) -Winline -Wall -Wshadow -O -fomit-frame-pointer -g
|
|
|
|
noinst_HEADERS = \
|
|
ansidecl.h \
|
|
dyn-string.h \
|
|
demangle.h \
|
|
safe-ctype.h
|
|
|
|
noinst_LIBRARIES = libdemangle.a
|
|
|
|
libdemangle_a_SOURCES = \
|
|
cp-demangle.c cplus-dem.c dyn-string.c safe-ctype.c
|
|
|
|
# some files don't like my config.h, so just pretend it does not exist...
|
|
|
|
cp-demangle.o: cp-demangle.c
|
|
$(COMPILE) -Wno-unused -Wno-shadow -c $< -UHAVE_CONFIG_H
|
|
|
|
dyn-string.o: dyn-string.c
|
|
$(COMPILE) -c $< -UHAVE_CONFIG_H
|
|
|
|
cplus-dem.o: cplus-dem.c
|
|
$(COMPILE) -Wno-unused -c $<
|