Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 311 → Rev 310

/shark/trunk/oslib/mk/gnu.mk
1,5 → 1,3
include $(BASE)/../shark.cfg
 
CC = gcc
AS = gcc
LD = ld
8,15 → 6,8
LIB_PATH = $(BASE)/lib/
LIB_DIR = $(BASE)\lib
 
ifeq ($(TSC),TRUE)
CFG_OPT = -D__TSC__
ifeq ($(APIC),TRUE)
CFG_OPT += -D__APIC__
endif
endif
 
C_OPT = -Wall -O -fno-builtin -nostdinc $(CFG_OPT) -D__GNU__ -I$(INCL) -DMAIN=__kernel_init__
ASM_OPT = -x assembler-with-cpp $(CFG_OPT) -D__GNU__ -I$(INCL)
C_OPT = -Wall -O -fno-builtin -nostdinc -D__TSC__ -D__GNU__ -I$(INCL) -DMAIN=__kernel_init__
ASM_OPT = -x assembler-with-cpp -D__GNU__ -I$(INCL)
LINK_OPT = -T $(BASE)/mk/os.x -Bstatic -Ttext 0x320000 -oformat coff-go32 -s -nostartfiles -nostdlib -L$(LIB_PATH)
 
MKDIR = md