From dfd9159f3db987e9115715cded7a4408179e3ed9 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Tue, 7 Aug 2012 02:11:25 +0100 Subject: build: change checkheaders to use regular build rules Many compilers need special flags to compile *.h files as regular source code, if they will do so at all. Rather than hoping all compilers will have such a flag and adding mappings for it, create wrapper .c files for test building single headers. This allows using the regular rule for compiling C files without the need for special flags, and it also provides proper dependency tracking for these objects. Signed-off-by: Mans Rullgard --- library.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library.mak') diff --git a/library.mak b/library.mak index cd3fdc28f9..3045640e0b 100644 --- a/library.mak +++ b/library.mak @@ -20,7 +20,7 @@ $(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm $(DEPYASM) $(YASMFLAGS) -I $( $(@:.o=.d) $(YASM) $(YASMFLAGS) -I $(