mirror of
https://github.com/vivier/EMILE.git
synced 2024-09-09 10:54:32 +00:00
29 lines
634 B
Makefile
29 lines
634 B
Makefile
#
|
|
# (c) 2005 Laurent Vivier <LaurentVivier@wanadoo.fr>
|
|
#
|
|
|
|
TOP = $(shell pwd)
|
|
VPATH=$(TOP)
|
|
|
|
TARGET = native
|
|
CFLAGS = -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -fpic -g
|
|
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
|
|
|
|
DISTFILES = $(SOURCES) $(HEADERS)
|
|
|
|
all:
|
|
test -d $(TARGET) || mkdir $(TARGET)
|
|
cd $(TARGET) && make -f $(TOP)/Makefile $(LIBRARY) TOP=$(TOP)
|
|
|
|
include $(TOP)/../Rules.mk
|