Hello,

I have try to make a real time application with the following files, but
there is something about then and I do not what it is. When I try to make
test, the PC does not respond. 

 <<fun.c>>  <<Makefile.txt>>  <<modelo.h>>  <<modulo_rt.c>> 

Can someone help me?

Ana.

fun.c

all: modulo_rt.o

include rtl.mk

fun.o: fun.c
        $(CC) ${INCLUDE} ${CFLAGS} fun.c -o fun.o

modulo_rt_tmp.o: modulo_rt.c modelo.h
        $(CC) ${INCLUDE} ${CFLAGS} -c modulo-rt.c -o modulo_rt_tmp.o 

modulo_rt.o : modulo_rt_tmp.o fun.o
        ld -r static -o modulo_rt.o modulo_rt_tmp.o fun.o -L/usr/lib -lm -lc
clean:
        rm -f *.o

modelo.h

modulo_rt.c

Reply via email to