# ------------ Compiler / Linker Options -------------------------------
-
ifdef AXIS_TOP_DIR
AXIS_USABLE_LIBS = UCLIBC GLIBC
include $(AXIS_TOP_DIR)/tools/build/Rules.axis
.PHONY: distclean
distclean: clean
rm -f $(TARGETS) $(LIB_TARGETS)
+ find . -type l -exec rm {} \;
rcsclean -u
.PHONY: depend
# ------------ Dependencies --------------------------------------------
-trberror.o: trberror.c trberror.h
+ifndef AXIS_TOP_DIR
+pexor_user.h:
+ ln -s ../pexor/kernel-module/pexor_user.h
trbnet.o: trbnet.c trberror.h trbnet.h pexor_user.h
+else
+trbnet.o: trbnet.c trberror.h trbnet.h
+endif
+
+trberror.o: trberror.c trberror.h
libtrbnet.a: trberror.o trbnet.o
trbflash: trbflash.o libtrbnet.a
trbflash.o: trbflash.c
+