Subversion Repositories Kolibri OS

Rev

Rev 5221 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5221 Rev 8358
Line -... Line 1...
-
 
1
CC = kos32-gcc
-
 
2
LD = kos32-ld
-
 
3
SDK_DIR = ../../../sdk
Line 1... Line 4...
1
CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -O2 
4
 
2
CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields
5
CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -O2 
3
CFLAGS_OPT+= -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wno-format -Werror
6
CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields
4
CFLAGS   = -c $(CFLAGS_OPT)
7
CFLAGS_OPT+= -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wno-format -Werror
Line 17... Line 20...
17
# targets
20
 
Line 18... Line 21...
18
 
21
# targets
Line 19... Line 22...
19
all: libopcodes.a
22
 
20
 
23
all: libopcodes.a
21
libopcodes.a: $(OBJS) MAkefile
24
 
Line 22... Line 25...
22
	$(AR) crs $@ $(OBJS)
25
libopcodes.a: $(OBJS) Makefile
23
	mv -f $@ $(SDK_DIR)/lib
26
	$(AR) crs $@ $(OBJS)