4 # Script to generate Makefile.am,
5 # execute in device/lib/pic16/libdev/ with no arguments.
7 # Written by Raphael Neider <tecodev AT users sourceforge net>
9 # Released under the terms of the GPL v2.
13 ## Makefile.am -- Process this file with automake to produce Makefile.in
14 ## This file has been automatically generated using $0.
20 sed -e 's/\s*#.*$//' ../pics.all | grep -v '^\s*$' | sort | while read arch; do
22 lib_LIBRARIES += libdev18f${arch}.a
23 libdev18f${arch}_a_SOURCES = pic18f${arch}.c
24 libdev18f${arch}_a_CFLAGS = -p18f${arch} \$(AM_CFLAGS)
30 include \$(top_srcdir)/Makefile.common