diff --git a/src/bin/launcher/Makefile b/src/bin/launcher/Makefile index 0640967..c6a59c1 100644 --- a/src/bin/launcher/Makefile +++ b/src/bin/launcher/Makefile @@ -6,7 +6,7 @@ include ../Makefile.inc #Compiler Flags -CFLAGS = -DNOBOOL -fno-exceptions +CFLAGS = -DNOBOOL -fno-builtin -fno-exceptions #Linker LD = ld @@ -21,18 +21,18 @@ OBJS = launcher.o ubixButton.o ubixDesktop.o #Libraries -LIBRARIES2 = ../../lib/objgfx40/*.o ../../lib/views/sunlight/*.o +LIBRARIES2 = ../../lib/objgfx40/*.o ../../lib/libcpp/*.o ../../lib/views/sunlight/*.o #Include -INCLUDE = -I../../lib/objgfx40/objgfx40 -I../../lib/views/sunlight/include -I./include +INCLUDE = -I../../lib/libc/include -I../../lib/libcpp/include -I../../lib/objgfx40/objgfx40 -I../../lib/views/sunlight/include -I./include #Startup File STARTUP = ../../lib/ubix/startup.o # Link The Binary $(BINARY) : $(OBJS) - $(CXX) -o $@ -lm -lstdc++ $(LIBRARIES2) $(OBJS) - strip $(BINARY) + $(CC) -nostdlib -o $@ $(STARTUP) $(LIBRARIES) $(LIBRARIES2) $(OBJS) + #strip $(BINARY) # Compile the source files .cpp.o: