X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/35a7d633d3f16c1e0539af6ca5d8e7482926cd93..9daf4fcdae88f72af60aeb0c7722841af02233d4:/lunaix-os/tests/shared/makefile?ds=sidebyside diff --git a/lunaix-os/tests/shared/makefile b/lunaix-os/tests/shared/makefile new file mode 100644 index 0000000..0484be2 --- /dev/null +++ b/lunaix-os/tests/shared/makefile @@ -0,0 +1,20 @@ +include $(LUNAIX_ROOT)/makeinc/utils.mkinc + +lunaix-root := $(LUNAIX_ROOT) +unit-test-root := $(lunaix-root)/tests/units +test-root := $(lunaix-root)/tests +test-shared-root := $(test-root)/shared + +CFLAGS += -idirafter $(lunaix-root)/includes \ + -I $(test-root)/includes \ + -Wno-discarded-qualifiers \ + -Wno-scalar-storage-order \ + -g + + +%.o: %.c + $(call status,CC,$(@F)) + @$(CC) $(CFLAGS) -c $< -o $@ + + +obj-shared := $(test-shared-root)/framework.o