2005-11-08 02:04:54 +00:00
|
|
|
#
|
2013-09-05 12:39:22 +00:00
|
|
|
# (c) 2005-2007 Laurent Vivier <Laurent@Vivier.EU>
|
2005-11-08 02:04:54 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
TOP = $(shell pwd)
|
2005-11-16 14:00:27 +00:00
|
|
|
|
2017-03-15 20:29:26 +00:00
|
|
|
CFLAGS += -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -ffreestanding -fpic -O2 -Os
|
2005-11-08 02:04:54 +00:00
|
|
|
CPPFLAGS = -I$(TOP) -I$(TOP)/../libmacos -DARCH_M68K
|
|
|
|
|
|
|
|
LIBRARY = libunix.a
|
|
|
|
|
|
|
|
SOURCES = divsi3.S modsi3.S mulsi3.S udivsi3.S umodsi3.S free.c malloc.c \
|
|
|
|
memcpy.c memset.c printf.c putchar.c puts.c read.c sprintf.c \
|
2005-11-12 19:13:52 +00:00
|
|
|
strcpy.c strlen.c strncpy.c vsprintf.c write.c strcmp.c \
|
2005-12-08 06:33:17 +00:00
|
|
|
strncmp.c strtol.c strdup.c
|
2005-11-08 02:04:54 +00:00
|
|
|
|
2017-03-15 21:56:49 +00:00
|
|
|
HEADERS =
|
2005-11-08 02:04:54 +00:00
|
|
|
|
|
|
|
all: $(LIBRARY)
|
|
|
|
|
2007-09-06 22:09:11 +00:00
|
|
|
include $(TOP)/../tools.mk
|
2005-11-16 14:00:27 +00:00
|
|
|
include $(TOP)/../Rules.mk
|