stage4/generate_c/Makefile.am
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 06 May 2016 11:01:21 +0300
changeset 1006 0668ba32de98
parent 784 1e1c04ac8dab
permissions -rw-r--r--
fix C compilation warning about function prototype in __SET_EXTERNAL

Example warning:
./POUS.c:1220:3: error: function declaration isn't a prototype [-Werror=strict-prototypes]
__SET_EXTERNAL(data__->,KN_AUT,,__GET_VAR(data__->KEY_AUT.STATE_OUT));
^
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