Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / device / non-free / lib / pic16 / Makefile.common
blob6f7803458922f582d1d47aedeead8184e122836c
1 AM_CPPFLAGS =
2 AM_CPPFLAGS += -I.
3 AM_CPPFLAGS += -I$(top_srcdir)/../../../include/pic16 -I$(top_srcdir)/../../../include \
4         -I$(top_srcdir)/../../../non-free/include/pic16
6 AM_CFLAGS =
7 AM_CFLAGS += --std-c99
8 AM_CFLAGS += --asm="$(CCAS)"
9 AM_CFLAGS += --no-warn-non-free
10 ##AM_CFLAGS += -Wa,-q
12 AM_CFLAGS += --fomit-frame-pointer
13 AM_CFLAGS += --obanksel=9
14 AM_CFLAGS += --denable-peeps
15 #AM_CFLAGS += --no-optimize-goto
16 AM_CFLAGS += --optimize-cmp
17 AM_CFLAGS += --optimize-df
19 #AM_CFLAGS += --debug-ralloc
20 #AM_CFLAGS += --debug-xtra
21 #AM_CFLAGS += --pcode-verbose
22 AM_CFLAGS += --i-code-in-asm
24 #AM_CFLAGS += --nooverlay
25 #AM_CFLAGS += --nogcse
26 #AM_CFLAGS += --nolabelopt
27 #AM_CFLAGS += --noinvariant
28 #AM_CFLAGS += --noinduction
29 #AM_CFLAGS += --nojtbound
30 #AM_CFLAGS += --noloopreverse
32 AM_CFLAGS += @USE_FLOATS@
34 AM_CCASFLAGS =
35 AM_CCASFLAGS += -I$(top_srcdir)/../../../include/pic16 -I$(top_srcdir)/../../../include \
36         -I$(top_srcdir)/../../../non-free/include/pic16
37 AM_CCASFLAGS += -I$(srcdir)
39 clean-local:
40         $(RM) *.asm;
41         $(RM) *.lst;
43 clean-intermediate: clean-local
44         list='$(SUBDIRS)'; for subdir in $$list; do \
45           echo "Making $@ in $$subdir"; \
46           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@); \
47         done