Use -I$(INCDIR) to get Mesa, not system headers (Dan Schikore)
This commit is contained in:
parent
a186c80788
commit
ecc0d10d2d
|
@ -52,10 +52,10 @@ clean:
|
||||||
|
|
||||||
# special cases
|
# special cases
|
||||||
pbinfo: pbinfo.o pbutil.o
|
pbinfo: pbinfo.o pbutil.o
|
||||||
$(CC) $(CFLAGS) pbinfo.o pbutil.o $(APP_LIB_DEPS) -o $@
|
$(CC) -I$(INCDIR) $(CFLAGS) pbinfo.o pbutil.o $(APP_LIB_DEPS) -o $@
|
||||||
|
|
||||||
pbdemo: pbdemo.o pbutil.o
|
pbdemo: pbdemo.o pbutil.o
|
||||||
$(CC) $(CFLAGS) pbdemo.o pbutil.o $(APP_LIB_DEPS) -o $@
|
$(CC) -I$(INCDIR) $(CFLAGS) pbdemo.o pbutil.o $(APP_LIB_DEPS) -o $@
|
||||||
|
|
||||||
pbinfo.o: pbinfo.c pbutil.h
|
pbinfo.o: pbinfo.c pbutil.h
|
||||||
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) pbinfo.c
|
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) pbinfo.c
|
||||||
|
@ -67,13 +67,13 @@ pbutil.o: pbutil.c pbutil.h
|
||||||
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) pbutil.c
|
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) pbutil.c
|
||||||
|
|
||||||
glxgears_fbconfig: glxgears_fbconfig.o pbutil.o
|
glxgears_fbconfig: glxgears_fbconfig.o pbutil.o
|
||||||
$(CC) $(CFLAGS) glxgears_fbconfig.o pbutil.o $(APP_LIB_DEPS) -o $@
|
$(CC) -I$(INCDIR) $(CFLAGS) glxgears_fbconfig.o pbutil.o $(APP_LIB_DEPS) -o $@
|
||||||
|
|
||||||
glxgears_fbconfig.o: glxgears_fbconfig.c pbutil.h
|
glxgears_fbconfig.o: glxgears_fbconfig.c pbutil.h
|
||||||
$(CC) $(CFLAGS) -c -I. -I$(INCDIR) $(CFLAGS) glxgears_fbconfig.c
|
$(CC) -I$(INCDIR) $(CFLAGS) -c -I. $(CFLAGS) glxgears_fbconfig.c
|
||||||
|
|
||||||
xrotfontdemo: xrotfontdemo.o xuserotfont.o
|
xrotfontdemo: xrotfontdemo.o xuserotfont.o
|
||||||
$(CC) $(CFLAGS) xrotfontdemo.o xuserotfont.o $(APP_LIB_DEPS) -o $@
|
$(CC) -I$(INCDIR) $(CFLAGS) xrotfontdemo.o xuserotfont.o $(APP_LIB_DEPS) -o $@
|
||||||
|
|
||||||
xuserotfont.o: xuserotfont.c xuserotfont.h
|
xuserotfont.o: xuserotfont.c xuserotfont.h
|
||||||
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) xuserotfont.c
|
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) xuserotfont.c
|
||||||
|
|
Loading…
Reference in New Issue