diff --git a/libcontainer/Makefile b/libcontainer/Makefile index a97e471..555af67 100644 --- a/libcontainer/Makefile +++ b/libcontainer/Makefile @@ -5,26 +5,16 @@ TOP=$(shell pwd) 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 -CPPFLAGS = +CPPFLAGS = -I$(TOP)/../libstream LIBRARY = libcontainer.a SOURCES = container_close.c container_lseek.c container_open.c \ - container_read.c + container_read.c container_fstat.c HEADERS = libcontainer.h -all: - test -d $(TARGET) || mkdir $(TARGET) - cd $(TARGET) && make -f $(TOP)/Makefile $(LIBRARY) TOP=$(TOP) - +all: $(LIBRARY) include $(TOP)/../Rules.mk