mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
Add fstat, remove cross-compiling (other than m68k)
This commit is contained in:
parent
c864f078d7
commit
155c1089b1
@ -5,26 +5,16 @@
|
|||||||
TOP=$(shell pwd)
|
TOP=$(shell pwd)
|
||||||
VPATH=$(TOP)
|
VPATH=$(TOP)
|
||||||
|
|
||||||
TARGET = native
|
|
||||||
|
|
||||||
AS=$(CROSS_COMPILE)as
|
|
||||||
CC=$(CROSS_COMPILE)gcc
|
|
||||||
LD=$(CROSS_COMPILE)ld
|
|
||||||
AR=$(CROSS_COMPILE)ar
|
|
||||||
|
|
||||||
CFLAGS = -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -fpic -O2 -m68000 -Wa,-m68000 -Os
|
CFLAGS = -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -fpic -O2 -m68000 -Wa,-m68000 -Os
|
||||||
CPPFLAGS =
|
CPPFLAGS = -I$(TOP)/../libstream
|
||||||
|
|
||||||
LIBRARY = libcontainer.a
|
LIBRARY = libcontainer.a
|
||||||
|
|
||||||
SOURCES = container_close.c container_lseek.c container_open.c \
|
SOURCES = container_close.c container_lseek.c container_open.c \
|
||||||
container_read.c
|
container_read.c container_fstat.c
|
||||||
|
|
||||||
HEADERS = libcontainer.h
|
HEADERS = libcontainer.h
|
||||||
|
|
||||||
all:
|
all: $(LIBRARY)
|
||||||
test -d $(TARGET) || mkdir $(TARGET)
|
|
||||||
cd $(TARGET) && make -f $(TOP)/Makefile $(LIBRARY) TOP=$(TOP)
|
|
||||||
|
|
||||||
|
|
||||||
include $(TOP)/../Rules.mk
|
include $(TOP)/../Rules.mk
|
||||||
|
Loading…
Reference in New Issue
Block a user