2005-11-16 01:29:10 +00:00
|
|
|
#
|
2006-09-15 14:55:39 +00:00
|
|
|
# (c) 2005 Laurent Vivier <Laurent@lvivier.info>
|
2005-11-16 01:29:10 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
TOP=$(shell pwd)
|
2005-11-16 14:00:27 +00:00
|
|
|
|
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-16 01:29:10 +00:00
|
|
|
CPPFLAGS = -I$(TOP)/../libmacos -DARCH_M68K
|
|
|
|
|
|
|
|
LIBRARY = libfloppy.a
|
|
|
|
|
2005-11-23 22:36:15 +00:00
|
|
|
SOURCES = floppy_read_sector.c floppy_close.c floppy_open.c \
|
|
|
|
floppy_get_blocksize.c
|
2005-11-16 01:29:10 +00:00
|
|
|
|
|
|
|
HEADERS = libfloppy.h
|
|
|
|
|
|
|
|
all: $(LIBRARY)
|
|
|
|
|
2005-11-16 14:00:27 +00:00
|
|
|
include $(TOP)/../Rules.mk
|