0484be25384408401701dd1eccc1464a38f7a9cf
[lunaix-os.git] / lunaix-os / tests / shared / makefile
1 include $(LUNAIX_ROOT)/makeinc/utils.mkinc
2
3 lunaix-root := $(LUNAIX_ROOT)
4 unit-test-root := $(lunaix-root)/tests/units
5 test-root := $(lunaix-root)/tests
6 test-shared-root := $(test-root)/shared
7
8 CFLAGS += -idirafter $(lunaix-root)/includes    \
9                   -I $(test-root)/includes \
10                   -Wno-discarded-qualifiers \
11                   -Wno-scalar-storage-order \
12                   -g
13
14
15 %.o: %.c
16         $(call status,CC,$(@F))
17         @$(CC) $(CFLAGS) -c $< -o $@
18
19
20 obj-shared := $(test-shared-root)/framework.o