mirror of
https://github.com/vivier/EMILE.git
synced 2024-11-14 22:04:43 +00:00
36 lines
772 B
Makefile
36 lines
772 B
Makefile
#
|
|
# (c) 2005 Laurent Vivier <LaurentVivier@wanadoo.fr>
|
|
#
|
|
|
|
TOP = $(shell pwd)
|
|
VPATH=$(TOP)
|
|
|
|
AS=$(CROSS_COMPILE)as
|
|
CC=$(CROSS_COMPILE)gcc
|
|
LD=$(CROSS_COMPILE)ld
|
|
AR=$(CROSS_COMPILE)ar
|
|
|
|
TARGET = native
|
|
CFLAGS = -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar
|
|
ifeq ($(TARGET), m68k-linux)
|
|
68000FLAGS = -m68000 -Wa,-m68000
|
|
CFLAGS += -fpic -O2 -Os
|
|
endif
|
|
CPPFLAGS = -I$(TOP)/../libstream
|
|
|
|
LIBRARY = libiso9660.a
|
|
|
|
SOURCES = iso9660_mount.c iso9660_opendir.c \
|
|
iso9660_closedir.c iso9660_readdir.c \
|
|
iso9660_is_directory.c iso9660_open.c \
|
|
iso9660_read.c iso9660_close.c \
|
|
iso9660_lseek.c iso9660_fstat.c
|
|
|
|
HEADERS = libiso9660.h
|
|
|
|
all:
|
|
test -d $(TARGET) || mkdir $(TARGET)
|
|
$(MAKE) -C $(TARGET) -f $(TOP)/Makefile $(LIBRARY) TOP=$(TOP)
|
|
|
|
include $(TOP)/../Rules.mk
|