From a1a4a273408e4259345d24578a7a3dd1632df92a Mon Sep 17 00:00:00 2001 From: vrokas Date: Mon, 12 Jan 2004 23:41:46 +0000 Subject: [PATCH] modified to install the pic16 headers git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3126 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- device/include/Makefile.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/device/include/Makefile.in b/device/include/Makefile.in index ec5408fa..7c3d11a2 100644 --- a/device/include/Makefile.in +++ b/device/include/Makefile.in @@ -41,7 +41,10 @@ all: # ---------------------------------------------------- install: all installdirs $(CP) -r asm *.h $(sdcc_includedir) - find $(sdcc_includedir) -type d -name 'CVS' -exec rm {} \; + if [ "`grep pic16 ../../ports.build`" = pic16 ]; then \ + $(CP) pic16/*.h $(sdcc_includedir)/pic16 ; \ + fi + find $(sdcc_includedir) -type d -name 'CVS' -exec rm {} \; # Deleting all the installed files @@ -64,6 +67,7 @@ installcheck: # --------------------------------- installdirs: [ -d $(sdcc_includedir) ] || mkdir -p $(sdcc_includedir) + [ -d $(sdcc_includedir)/pic16 ] || mkdir -p $(sdcc_includedir)/pic16 # Creating dependencies -- 2.30.2