From: David Schleef Date: Mon, 27 Aug 2001 09:56:57 +0000 (+0000) Subject: Added -nostdinc flag. Comedi _should_ compile with it. X-Git-Tag: r0_7_61~141 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ee0ff7e5cd0fa07f14afc9ad2016089e077a90c4;p=comedi.git Added -nostdinc flag. Comedi _should_ compile with it. --- diff --git a/Makefile.modbuild b/Makefile.modbuild index ea907135..ce84434c 100644 --- a/Makefile.modbuild +++ b/Makefile.modbuild @@ -57,6 +57,7 @@ endif ifdef RTAIDIR CFLAGS += -I $(TOPDIR)/include/rtai endif +CFLAGS += -nostdinc -I $(shell $(CC) -print-search-dirs|grep ^install:|sed 's/^install: //')include CONFIG_SHELL := sh @@ -151,6 +152,7 @@ clean: distclean: clean rm -f .depend `find . -name .depend -print` + rm -f .hdepend rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \ -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ -o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` TAGS