automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Overriding suffix based implicit rules


From: Artus
Subject: Overriding suffix based implicit rules
Date: Tue, 27 Mar 2007 05:40:06 -0700 (PDT)

Hi,
What shoul I write in Makefile.am to inform automake that .c files in this
specific directory are C++ source files and not C files? I tried the
following with no sucess (and I do not want to rename the files).

# Makefile.am
.c.o:
        $(CXX) $(CXXFLAGS) -c $< -o $@
lib_LTLIBRARIES = libadn.la
libadn_la_SOURCES = adn.h adn.c tim.c cyto.c
-- 
View this message in context: 
http://www.nabble.com/Overriding-suffix-based-implicit-rules-tf3472778.html#a9691465
Sent from the Gnu - Automake - General mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]