mirror of
https://github.com/vivier/EMILE.git
synced 2026-03-11 01:38:28 +00:00
-Wno-address-of-packed-member -Wno-stringop-truncation and -Wno-array-bounds are needed to be able to build with sid, but are not supported by etch Signed-off-by: Laurent Vivier <laurent@vivier.eu>
27 lines
698 B
Makefile
27 lines
698 B
Makefile
#
|
|
# (c) 2005-2007 Laurent Vivier <Laurent@Vivier.EU>
|
|
#
|
|
|
|
TOP = $(shell pwd)
|
|
|
|
68000FLAGS = -m68000 -Wa,-m68000
|
|
CFLAGS += -nostdlib -nodefaultlibs -Wall -Werror \
|
|
-Wno-multichar -fpic -O2 -Os
|
|
CPPFLAGS = -I$(TOP) -DARCH_M68K
|
|
|
|
LIBRARY = libmacos.a
|
|
|
|
SOURCES = CloseDriver.c OpenDriver.c SerGetBuf.c GetDCtlEntry.c
|
|
|
|
HEADERS = libmacos.h \
|
|
macos/devices.h macos/errors.h macos/events.h macos/files.h \
|
|
macos/gestalt.h macos/init.h macos/lowmem.h \
|
|
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)
|
|
|
|
include $(TOP)/../tools.mk
|
|
include $(TOP)/../Rules.mk
|