WinGui: Fix another instance of the Caliburn vs Json.net sillyness where objects...
[HandBrake.git] / test / module.rules
blob5f41d4d2f1a8715f862768ebf29507130124f25f
1 $(eval $(call import.MODULE.rules,TEST))
3 test.build: $(TEST.exe)
5 $(TEST.exe): | $(dir $(TEST.exe))
6 $(TEST.exe): $(TEST.c.o)
7         $(call TEST.GCC.EXE++,$@,$^ $(TEST.libs))
9 $(TEST.c.o): $(LIBHB.a)
10 $(TEST.c.o): | $(dir $(TEST.c.o))
11 $(TEST.c.o): $(BUILD/)%.o: $(SRC/)%.c
12         $(call TEST.GCC.C_O,$@,$<)
14 test.clean:
15         $(RM.exe) -f $(TEST.out)
17 ###############################################################################
19 build: test.build
20 clean: test.clean
22 ###############################################################################
24 ## skip install/uninstall on darwin
25 ifneq ($(BUILD.system),darwin)
27 test.install-strip: | $(dir $(TEST.install.exe))
28         $(CP.exe) $(TEST.exe) $(TEST.install.exe)
29         $(STRIP.exe) $(TEST.install.exe)
31 test.install: | $(dir $(TEST.install.exe))
32         $(CP.exe) $(TEST.exe) $(TEST.install.exe)
34 test.uninstall:
35         $(RM.exe) -f $(TEST.install.exe)
37 install-strip: test.install-strip
38 install: test.install
39 uninstall: test.uninstall
41 endif