stage4/generate_c/Makefile.am
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 06 May 2016 11:38:35 +0300
changeset 1007 afb3974f8fb3
parent 784 1e1c04ac8dab
permissions -rw-r--r--
fix warning about overflow if matiec is running on 64-bit platform,
but the generated C code will cross-compiled for 32-bit platform

For example:
./build/config.c:29:39: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
unsigned long greatest_tick_count__ = 18446744073709551611UL; /*tick*/
^
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors
369
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents:
diff changeset
     1
include ../../common.mk
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents:
diff changeset
     2
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents:
diff changeset
     3
lib_LIBRARIES = libstage4_c.a
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents:
diff changeset
     4
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents:
diff changeset
     5
libstage4_c_a_SOURCES = generate_c.cc 
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents:
diff changeset
     6
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents:
diff changeset
     7
libstage4_c_a_LIBADD = ../stage4.o
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents:
diff changeset
     8
784
1e1c04ac8dab Fix CPPFLAGS Makefile.am for all stage4.
Manuele Conti <conti.ma@alice.it>
parents: 369
diff changeset
     9
libstage4_c_a_CPPFLAGS = -I../../../absyntax
369
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents:
diff changeset
    10