Edouard@279: # matiec - a compiler for the programming languages defined in IEC 61131-3 Edouard@279: # Edouard@279: # Copyright (C) 2003-2011 Mario de Sousa (msousa@fe.up.pt) Edouard@279: # Copyright (C) 2007-2011 Laurent Bessard and Edouard Tisserant Edouard@279: # Edouard@279: # This program is free software: you can redistribute it and/or modify Edouard@279: # it under the terms of the GNU General Public License as published by Edouard@279: # the Free Software Foundation, either version 3 of the License, or Edouard@279: # (at your option) any later version. Edouard@279: # Edouard@279: # This program is distributed in the hope that it will be useful, Edouard@279: # but WITHOUT ANY WARRANTY; without even the implied warranty of Edouard@279: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Edouard@279: # GNU General Public License for more details. Edouard@279: # Edouard@279: # You should have received a copy of the GNU General Public License Edouard@279: # along with this program. If not, see . Edouard@279: mario@181: # include the system specific Makefile mario@181: include ../Makefile.$(shell uname) mario@181: mario@181: SEARCH_UTIL_FILES = absyntax_utils.o mario@181: SEARCH_UTIL_FILES += search_expression_type.o mario@181: SEARCH_UTIL_FILES += decompose_var_instance_name.o mario@181: SEARCH_UTIL_FILES += function_call_iterator.o mario@181: SEARCH_UTIL_FILES += function_call_param_iterator.o mario@181: SEARCH_UTIL_FILES += function_param_iterator.o mario@181: SEARCH_UTIL_FILES += search_base_type.o mario@181: SEARCH_UTIL_FILES += search_constant_type.o mario@181: SEARCH_UTIL_FILES += search_fb_instance_decl.o mario@181: SEARCH_UTIL_FILES += search_fb_typedecl.o ccb@201: SEARCH_UTIL_FILES += search_il_operand_type.o mario@181: SEARCH_UTIL_FILES += search_varfb_instance_type.o mario@181: SEARCH_UTIL_FILES += search_var_instance_decl.o mario@181: SEARCH_UTIL_FILES += spec_init_separator.o mario@181: SEARCH_UTIL_FILES += type_initial_value.o ccb@202: SEARCH_UTIL_FILES += add_en_eno_param_decl.o ccb@202: SEARCH_UTIL_FILES += get_sizeof_datatype.o mario@181: SEARCH_UTIL_FILES += get_function_type.o mario@181: mario@181: default: all mario@181: mario@181: all: $(SEARCH_UTIL_FILES) mario@181: mario@181: clean: mario@181: rm -f *.o Makefile.depend mario@181: mario@181: CXXFLAGS += -I. -I../* mario@181: mario@181: Makefile.depend depend: Lolitech@243: $(CXX) -MM -MG -I. *.cc \ Lolitech@243: | sed 's/:/ Makefile.depend:/' > Makefile.depend mario@181: mario@181: include Makefile.depend