include /usr/rtlinux/rtl.mk

RTFLAGS=${CFLAGS} -c -Wall



all: storage.o rtl_storage.o

storage.o: ../source/storage.c ../include/storage.h
	gcc -c -Wall -I/usr/rtlinux/include ../source/storage.c

rtl_storage.o: ../source/storage.c ../include/storage.h
	$(CC) ${RTFLAGS} ../source/storage.c -o rtl_storage.o

clean:
	rm -f *.o *~
	(cd ../source; rm -f *~)
	(cd ../include; rm -f *~)

