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