OSDN Git Service

BuildSystem:
[handbrake-jp/handbrake-jp-git.git] / test / module.rules
1 $(eval $(call import.MODULE.rules,TEST))
2
3 test.build: $(TEST.exe)
4
5 $(TEST.exe): | $(dir $(TEST.exe))
6 $(TEST.exe): $(TEST.c.o)
7         $(call TEST.GCC.EXE++,$@,$^ $(TEST.libs))
8
9 $(TEST.c.o): $(LIBHB.a)
10 $(TEST.c.o): | $(dir $(TEST.c.o))
11 $(TEST.c.o): $(BUILD/)%.o: $(PROJECT/)%.c
12         $(call TEST.GCC.C_O,$@,$<)
13
14 test.clean:
15         $(RM.exe) -f $(TEST.out)
16
17 ###############################################################################
18
19 build: test.build
20 clean: test.clean