2010-02-21 19:21:36 +00:00
|
|
|
include ../../config.mk
|
2015-10-09 19:24:15 +00:00
|
|
|
include ../../../mk/platform.mk
|
2012-09-02 23:27:52 +00:00
|
|
|
ifeq ($(WITHPIC),1)
|
2010-02-21 19:21:36 +00:00
|
|
|
|
2015-10-09 19:24:15 +00:00
|
|
|
CFLAGS+=-I../../include -I../arch/ -I../arch/include -Wall ${PIC_CFLAGS} ${LDFLAGS_LIB}
|
2016-05-06 08:21:55 +00:00
|
|
|
CFLAGS+=-D__UNIX__
|
2009-04-12 22:46:44 +00:00
|
|
|
|
|
|
|
foo: all
|
|
|
|
|
|
|
|
ALL_TARGETS=
|
|
|
|
ARCHS=x86.mk arm.mk
|
|
|
|
include $(ARCHS)
|
|
|
|
|
|
|
|
all: ${ALL_TARGETS}
|
|
|
|
@true
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -f *.so *.o ${STATIC_OBJ}
|
|
|
|
|
2010-06-15 12:10:42 +00:00
|
|
|
mrproper: clean
|
|
|
|
-rm -f *.d
|
|
|
|
|
|
|
|
.PHONY: all clean foo mrproper
|
2012-09-02 23:27:52 +00:00
|
|
|
else
|
|
|
|
all:
|
|
|
|
endif
|