
all: rt_com.o testcomapp testcommod.o

.PHONY: all

include /usr/src/rtlinux-3.0/rtl.mk

ifdef USE_TRACER
CFLAGS += -DUSE_TRACER
endif

ifdef DEBUG_NEW_RT_COM
CFLAGS += -DDEBUG_NEW_RT_COM
endif

include $(RTL_DIR)/Rules.make

clean:
	\rm -f ./*.o testcomapp

.PHONY: clean

testcomapp: testcomapp.c
	$(CC) ${INCLUDE} ${USER_CFLAGS} -g -O2 -Wall testcomapp.c -o $@


testcommod.o: testcommod.h rt_com.h 

testcomapp: testcommod.h

rt_com.o: rt_com.h rt_comP.h

