diff osdep/Makefile @ 19420:4f71ed7cb512

Move all internal -I parameters to the front of CFLAGS to avoid using external header files that happen to have the same name as internal ones. based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com
author diego
date Thu, 17 Aug 2006 17:19:56 +0000
parents 7a9a9748e045
children 618d1857f4c4
line wrap: on
line diff
--- a/osdep/Makefile	Thu Aug 17 16:44:54 2006 +0000
+++ b/osdep/Makefile	Thu Aug 17 17:19:56 2006 +0000
@@ -35,7 +35,7 @@
 
 OBJS=$(SRCS:.c=.o)
 
-CFLAGS  = $(OPTFLAGS) -I. -I..
+CFLAGS  = -I. -I.. $(OPTFLAGS)
 # -I/usr/X11R6/include/
 
 .SUFFIXES: .c .o