2005-11-17 06:44:44 +00:00
|
|
|
#
|
2006-09-15 14:55:39 +00:00
|
|
|
# (c) 2005 Laurent Vivier <Laurent@lvivier.info>
|
2005-11-17 06:44:44 +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-17 06:44:44 +00:00
|
|
|
CPPFLAGS = -I$(TOP)/../libmacos -DARCH_M68K
|
|
|
|
|
|
|
|
LIBRARY = libscsi.a
|
|
|
|
|
2005-11-21 21:55:36 +00:00
|
|
|
SOURCES = scsi_read_sector.c scsi_command.c scsi_INQUIRY.c scsi_READ.c \
|
2006-10-27 09:22:02 +00:00
|
|
|
scsi_open.c scsi_close.c scsi_READ_CAPACITY.c scsi_get_blocksize.c \
|
2006-11-01 17:42:23 +00:00
|
|
|
scsi_TEST_UNIT_READY.c scsi_INQUIRY.c scsi_REQUEST_SENSE.c
|
2005-11-17 06:44:44 +00:00
|
|
|
|
|
|
|
HEADERS = libscsi.h
|
|
|
|
|
|
|
|
all: $(LIBRARY)
|
|
|
|
|
|
|
|
include $(TOP)/../Rules.mk
|