EMILE/libunix/Makefile

23 lines
561 B
Makefile

#
# (c) 2005-2007 Laurent Vivier <Laurent@Vivier.EU>
#
TOP = $(shell pwd)
CFLAGS += -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -ffreestanding -fpic -O2 -Os
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 \
strcpy.c strlen.c strncpy.c vsprintf.c write.c strcmp.c \
strncmp.c strtol.c strdup.c
HEADERS =
all: $(LIBRARY)
include $(TOP)/../tools.mk
include $(TOP)/../Rules.mk