2005-11-08 02:02:16 +00:00
|
|
|
#
|
2007-09-06 22:09:11 +00:00
|
|
|
# (c) 2005-2007 Laurent Vivier <Laurent@lvivier.info>
|
2005-11-08 02:02:16 +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-08 02:02:16 +00:00
|
|
|
CPPFLAGS = -I$(TOP) -DARCH_M68K
|
|
|
|
|
|
|
|
LIBRARY = libmacos.a
|
|
|
|
|
2007-03-31 07:26:05 +00:00
|
|
|
SOURCES = CloseDriver.c OpenDriver.c SerGetBuf.c
|
2005-11-08 02:02:16 +00:00
|
|
|
|
|
|
|
HEADERS = libmacos.h \
|
|
|
|
macos/devices.h macos/errors.h macos/events.h macos/files.h \
|
2005-11-29 00:21:13 +00:00
|
|
|
macos/gestalt.h macos/init.h macos/lowmem.h \
|
2005-11-08 02:02:16 +00:00
|
|
|
macos/memory.h macos/osutils.h macos/quickdraw.h macos/romdefs.h \
|
|
|
|
macos/scsi.h macos/serial.h macos/slotmanager.h macos/traps.h \
|
|
|
|
macos/types.h macos/video.h
|
|
|
|
|
|
|
|
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
|