forked from KolibriOS/kolibrios
42f40b69fb
2) Kobra (0.1.1) uses libIPC, compilation changed, files with non-kobra functions moved to framework git-svn-id: svn://kolibrios.org@1286 a494cfbc-eb01-0410-851d-a64ba20cac60
21 lines
299 B
Makefile
21 lines
299 B
Makefile
CC=gcc
|
|
AS=gcc
|
|
LD=ld
|
|
OBJCOPY=objcopy
|
|
READELF=readelf
|
|
MCOPY=mcopy
|
|
RM=rm -rf
|
|
|
|
CFLAGS=-c -m32 -O2 -I$(ROOT)/include/
|
|
ASFLAGS=-c -m32
|
|
LDFLAGS=-nostdlib -T kolibri.ld -melf_i386
|
|
OBJCOPYFLAGS=-O binary
|
|
READELFFLAGS=--syms
|
|
MCOPYFLAGS=-D o
|
|
|
|
.c.o:
|
|
$(CC) $(CFLAGS) -o $*.o $<
|
|
|
|
.s.o:
|
|
$(AS) $(ASFLAGS) $*.o $<
|