diff options
author | Cameron Cawley | 2018-12-15 00:11:05 +0000 |
---|---|---|
committer | David Turner | 2019-02-21 20:33:39 +0000 |
commit | 309286cfbb0a2f65b13a9b56afc01bc258d843aa (patch) | |
tree | 9de8b146d8f9eb3afdc5a778850258cfa3ab5a30 /Makefile.common | |
parent | a3767e679edb9add3130f2494fea231af8f90f5c (diff) | |
download | scummvm-rg350-309286cfbb0a2f65b13a9b56afc01bc258d843aa.tar.gz scummvm-rg350-309286cfbb0a2f65b13a9b56afc01bc258d843aa.tar.bz2 scummvm-rg350-309286cfbb0a2f65b13a9b56afc01bc258d843aa.zip |
BUILD: Improve rules for compiling Windows resource scripts
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common index f6707f710b..fc99ce1a30 100644 --- a/Makefile.common +++ b/Makefile.common @@ -156,6 +156,12 @@ endif $(QUIET)$(MKDIR) $(*D) $(QUIET_AS)$(AS) $(ASFLAGS) $(<) -o $*.o +# Build rule for Windows resource files +# TODO: Support dependency tracking +%.o: %.rc + $(QUIET)$(MKDIR) $(*D) + $(QUIET_WINDRES)$(WINDRES) $(WINDRESFLAGS) $(CPPFLAGS) $(<) -o $*.o + ifdef USE_NASM # Build rule for NASM assembler files %.o: %.asm |