SubDir OBOS_TOP src kernel apps tests ;

KernelObjects 
	<$(SOURCE_GRIST)>thread_test.c 
	<$(SOURCE_GRIST)>fops_test.c
	<$(SOURCE_GRIST)>random_test.c
	: 
	-fpic -Wno-unused 
	;

KernelLd thread_test :
	libglue2.o
        <$(SOURCE_GRIST)>thread_test.o
        libc.so
        :
	$(OBOS_TOP)/src/kernel/ldscripts/$(OBOS_ARCH)/app.ld
        :
        :
        :
        bin/thread_test
        ; 

KernelLd fops_test :
	libglue2.o
        <$(SOURCE_GRIST)>fops_test.o
        libc.so
        :
	$(OBOS_TOP)/src/kernel/ldscripts/$(OBOS_ARCH)/app.ld
        :
        :
        :
        bin/fops_test
        ; 

KernelLd random_test :
	libglue2.o
        <$(SOURCE_GRIST)>random_test.o
	libc.so
	libm.so
        :
	$(OBOS_TOP)/src/kernel/ldscripts/$(OBOS_ARCH)/app.ld
        :
        :
        :
        bin/random_test
        ; 
