Browse Source

Added mechanism for installing header files

ceriel 34 years ago
parent
commit
a769cc45bf
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lang/cem/libcc.ansi/Makefile

+ 2 - 0
lang/cem/libcc.ansi/Makefile

@@ -13,6 +13,8 @@ OLIB=tail_$(PREF)$(SUB)
 
 install:
 	MakeArch
+	-if [ -d $(EMHOME)/include/tail_ac ] then : ; else mkdir $(EMHOME)/include/tail_ac ; fi
+	( cd headers; tar cf - `cat LIST` ) | ( cd $(EMHOME)/include/tail_ac ; tar xf - )
 
 clean:
 	rm -f OLIST */OLIST