Subversion Repositories Kolibri OS

Rev

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

Rev 4632 Rev 4633
Line 2... Line 2...
2
 
2
 
3
SRC_DIR:=$(SDK_DIR)/sources
3
SRC_DIR:=$(SDK_DIR)/sources
Line 4... Line 4...
4
MESA_SRC:= $(SRC_DIR)/Mesa/src
4
MESA_SRC:= $(SRC_DIR)/Mesa/src
5
 
5
 
6
CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -Os
6
CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -Os
Line 7... Line 7...
7
CFLAGS_OPT+= -fomit-frame-pointer -mno-ms-bitfields -save-temps
7
CFLAGS_OPT+= -fomit-frame-pointer -mno-ms-bitfields
8
CFLAGS   = -c $(CFLAGS_OPT)
8
CFLAGS   = -c $(CFLAGS_OPT)
Line 386... Line 386...
386
 
386
 
387
%.o : %.c Makefile
387
%.o : %.c Makefile
Line 388... Line 388...
388
	$(CC) $(CFLAGS) -std=c99 $(MESA_DEFS) $(INC_MESA) $(INC_I965) -o $@ $<
388
	$(CC) $(CFLAGS) -std=c99 $(MESA_DEFS) $(INC_MESA) $(INC_I965) -o $@ $<
389
 
389
 
Line 390... Line 390...
390
%.o : %.S Makefile
390
%.o : %.S Makefile
391
	$(CC) -c -save-temps -U_WIN32 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_SSE_ASM -I $(MESA_SRC)/mesa -o $@ $<
391
	$(CC) -c -U_WIN32 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_SSE_ASM -I $(MESA_SRC)/mesa -o $@ $<