diff --git a/nall/GNUmakefile b/nall/GNUmakefile index 8d1abea24..84304bdb3 100644 --- a/nall/GNUmakefile +++ b/nall/GNUmakefile @@ -422,6 +422,8 @@ else endif # objects -nall.objects := $(object.path)/nall.o +nall.objects := nall nall-main +nall.objects := $(nall.objects:%=$(object.path)/%.o) $(object.path)/nall.o: $(nall.path)/nall.cpp +$(object.path)/nall-main.o: $(nall.path)/main.cpp diff --git a/nall/main.cpp b/nall/main.cpp index 37b7a5ee3..c11cf2ad0 100644 --- a/nall/main.cpp +++ b/nall/main.cpp @@ -1,6 +1,7 @@ #include #if defined(PLATFORM_WINDOWS) + #include #include #include #include diff --git a/nall/nall.cpp b/nall/nall.cpp index db1ca7fde..33e6ef9d3 100644 --- a/nall/nall.cpp +++ b/nall/nall.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include