Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Makefile.am

    rfd2debf r47c1928  
    1616
    1717# create object files in directory with source files
    18 AUTOMAKE_OPTIONS = subdir-objects
     18AUTOMAKE_OPTIONS = foreign subdir-objects
    1919
    2020SRC = main.cc \
     
    2323
    2424MAINTAINERCLEANFILES =
     25MOSTLYCLEANFILES =
    2526
    2627# Is there a way to use a variable for the directory names?
     
    4243
    4344# put into lib for now
    44 cfa_cpplibdir = ${CFA_LIBDIR}
    45 cfa_cpplib_PROGRAMS = driver/cfa-cpp
    46 driver_cfa_cpp_SOURCES = ${SRC}
    47 driver_cfa_cpp_LDADD = -ldl                     # yywrap
    48 driver_cfa_cpp_CXXFLAGS = -Wno-deprecated -Wall -Wextra -DDEBUG_ALL -I./Parser -I${abs_top_srcdir}/src/Parser -I${abs_top_srcdir}/src/include -DYY_NO_INPUT -O2 -g -std=c++14
    49 driver_cfa_cpp_LDFLAGS = -Xlinker -export-dynamic
     45cfa_cpplibdir = $(CFA_LIBDIR)
     46cfa_cpplib_PROGRAMS = ../driver/cfa-cpp
     47___driver_cfa_cpp_SOURCES = $(SRC)
     48___driver_cfa_cpp_LDADD = -ldl                  # yywrap
     49
     50AM_CXXFLAGS = @HOST_FLAGS@ -Wno-deprecated -Wall -Wextra -DDEBUG_ALL -I./Parser -I$(srcdir)/Parser -I$(srcdir)/include -DYY_NO_INPUT -O2 -g -std=c++14
     51AM_LDFLAGS  = @HOST_FLAGS@ -Xlinker -export-dynamic
    5052
    5153MAINTAINERCLEANFILES += ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}}
Note: See TracChangeset for help on using the changeset viewer.