2005-11-23 22:39:03 +00:00
|
|
|
#
|
2013-09-05 12:39:22 +00:00
|
|
|
# (c) 2005-2007 Laurent Vivier <Laurent@Vivier.EU>
|
2005-11-23 22:39:03 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
TOP=$(shell pwd)
|
|
|
|
|
2006-01-24 12:25:27 +00:00
|
|
|
68000FLAGS = -m68000 -Wa,-m68000
|
2006-11-01 19:48:51 +00:00
|
|
|
CFLAGS += -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -fpic -O2 -Os
|
2005-11-23 22:39:03 +00:00
|
|
|
CPPFLAGS = -I$(TOP)/../libmacos -DARCH_M68K -I$(TOP)/../libstream
|
|
|
|
|
|
|
|
LIBRARY = libblock.a
|
|
|
|
|
2008-04-20 16:16:53 +00:00
|
|
|
SOURCES = block_close.c block_fstat.c block_lseek.c block_open.c block_read.c \
|
|
|
|
block_init.c block_mount.c
|
2005-11-23 22:39:03 +00:00
|
|
|
|
2008-04-20 16:16:53 +00:00
|
|
|
HEADERS = libblock.h block.h
|
2005-11-23 22:39:03 +00:00
|
|
|
|
|
|
|
all: $(LIBRARY)
|
|
|
|
|
2007-09-06 22:09:11 +00:00
|
|
|
include $(TOP)/../tools.mk
|
2005-11-23 22:39:03 +00:00
|
|
|
include $(TOP)/../Rules.mk
|