diff --git a/src/sys/graphics/Makefile b/src/sys/graphics/Makefile index 5b15b0f..16f23ac 100755 --- a/src/sys/graphics/Makefile +++ b/src/sys/graphics/Makefile @@ -24,7 +24,7 @@ # Compile the source files .cpp.o: - $(G++) -Wall -I./ -I../include -g -c -o $@ $< + $(G++) -Wall -g -c -o $@ $< .cc.s: $(G++) -Wall -fomit-frame-pointer -O -I../../lib/libc/include -S -o $@ $< diff --git a/src/sys/graphics/main.cpp b/src/sys/graphics/main.cpp index 870b8cf..ea5e23a 100755 --- a/src/sys/graphics/main.cpp +++ b/src/sys/graphics/main.cpp @@ -6,7 +6,7 @@ #include "objgfx30.h" #include "objfont.h" -#include +#include int main() { Int32 foo; @@ -38,8 +38,8 @@ // buf2->hFlip(); for (r=0; r<8; r++) { for (g=0; g<80; g++) - if (buf->getPixel(g,r)) cout << "*"; else cout << " "; - cout << endl; + if (buf->getPixel(g,r)) printf("*"); else printf(" "); + printf("\n");; } if (Screen) delete Screen; if (buf) delete buf; diff --git a/src/sys/graphics/objgfx30.cpp b/src/sys/graphics/objgfx30.cpp index 1ea012c..0378714 100755 --- a/src/sys/graphics/objgfx30.cpp +++ b/src/sys/graphics/objgfx30.cpp @@ -6,7 +6,7 @@ #include #include //#include -#include +#include "../include/types.h" // TGfx0 constructor TGfx0::TGfx0(void) {