* src/pic16/glue.c (pic16_print(G)PointerType): do not flush
[fw/sdcc] / device / lib / pic16 / Makefile
index ad27fa232dad638d18b110910b6a59650faa8bf6..a28c9f7c17b6a11ac1b1d8b074beeeed0d912b3b 100644 (file)
@@ -20,6 +20,13 @@ topsrcdir = .
 
 include $(topsrcdir)/Makefile.common
 
+ifeq (:,$(findstring :,$(LD) $(AS) $(LIB)))
+
+all % : 
+       @echo "gputils not found -- PIC16 library not built!"
+
+else
+
 SUBDIRS           = debug libc libdev libio libm libsdcc startup
 builddir   = build
 installdir = bin
@@ -41,3 +48,5 @@ clean : recurse
 clean-intermediate : recurse
 
 include $(topsrcdir)/Makefile.rules
+
+endif