* Makefile.am: Change AM_CPPFLAGS to avrdude_CPPFLAGS.

Define avrdude_CFLAGS.
* configure.ac: Set ENABLE_WARNINGS to "-Wall" if using gcc.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@362 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
troth
2003-09-05 04:23:27 +00:00
parent 4df01a2189
commit 25116822c0
3 changed files with 15 additions and 1 deletions

View File

@@ -39,7 +39,9 @@ DIST_SUBDIRS = doc windows
AM_YFLAGS = -d
AM_CPPFLAGS = -DCONFIG_DIR=\"$(sysconfdir)\"
avrdude_CPPFLAGS = -DCONFIG_DIR=\"$(sysconfdir)\"
avrdude_CFLAGS = @ENABLE_WARNINGS@
bin_PROGRAMS = avrdude