diff --git a/src/bin/launcher/Makefile b/src/bin/launcher/Makefile index 17c0346..4683d3c 100644 --- a/src/bin/launcher/Makefile +++ b/src/bin/launcher/Makefile @@ -24,7 +24,7 @@ LIBRARIES2 = ../../lib/objgfx40/*.o ../../lib/libcpp/*.o ../../lib/views/sunlight/*.o #Include -INCLUDE = -I../../lib/libc/include -I../../lib/libcpp/include -I../../lib/objgfx40 +INCLUDE = -I../../lib/libc/include -I../../lib/libcpp/include -I../../lib/objgfx40/objgfx40 -I../../lib/views/sunlight/include #Startup File STARTUP = ../../lib/ubix/startup.o @@ -35,6 +35,9 @@ #strip $(BINARY) # Compile the source files +.cpp.o: + $(CXX) -Wall -fomit-frame-pointer -O $(CFLAGS) $(INCLUDE) -c -o $@ $< + .cc.o: $(CXX) -Wall -fomit-frame-pointer -O $(CFLAGS) $(INCLUDE) -c -o $@ $< diff --git a/src/bin/launcher/launcher.cpp b/src/bin/launcher/launcher.cpp index f3fb855..7a7a369 100644 --- a/src/bin/launcher/launcher.cpp +++ b/src/bin/launcher/launcher.cpp @@ -1,3 +1,4 @@ +#include int main(void) { return 0;