X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/6942ebae59c3904674dce6b67cd07c43a3bbe00d..7e13988c1113d38bec17bd79b71757d78d977e76:/lunaix-os/tests/shared/makefile 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