Subversion Repositories Kolibri OS

Rev

Rev 8518 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8518 Rev 9758
Line 1... Line 1...
1
CC = kos32-gcc
1
CC = kos32-gcc
2
LD = kos32-ld 
2
LD = kos32-ld 
Line 3... Line 3...
3
 
3
 
Line 4... Line -...
4
SDK_DIR = $(abspath ../..)
-
 
5
 
-
 
6
LDFLAGS = -static -nostdlib -T $(SDK_DIR)/sources/newlib/app.lds --image-base 0
4
SDK_DIR = $(abspath ../..)
-
 
5
 
Line 7... Line 6...
7
 
6
CFLAGS = -c -fno-ident -O2 -fomit-frame-pointer -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -Wno-pointer-arith
8
CFLAGS = -c -fno-ident -O2 -fomit-frame-pointer -fno-ident -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -Wno-pointer-arith
7
LDFLAGS = -static -S -Tapp-dynamic.lds --image-base 0
9
 
-
 
10
INCLUDES = -I $(SDK_DIR)/sources/newlib/libc/include -I $(SDK_DIR)/sources/libstdc++-v3/include
-
 
11
LIBPATH = -L $(SDK_DIR)/lib -L /home/autobuild/tools/win32/mingw32/lib
-
 
Line -... Line 8...
-
 
8
 
12
 
9
INCLUDES = -I $(SDK_DIR)/sources/newlib/libc/include -I $(SDK_DIR)/sources/libstdc++-v3/include
Line 13... Line 10...
13
SOURCES = hello.cpp   \
10
LIBPATH = -L $(SDK_DIR)/lib
Line 14... Line 11...
14
      $(NULL)
11
 
15
 
12
SOURCES = hello.cpp
16
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
13
OBJECTS =  $(patsubst %.cpp, %.o, $(SOURCES))
17
 
14
 
18
default: hello
-
 
Line 19... Line 15...
19
 
15
default: hello
20
hello: $(OBJECTS) Makefile
16