build: Fix puzzles build due to missing dependency
As rbcompat.h is -include'd on the command line, the mkdep script doesn't
pick it up. Explicitly add the dependency to lang_enum.h to the makefile.
Also add lang_enum.h to the 'make clean' target!
Change-Id: I33c8ed0cd5c1d44dce02ac9285469c0e4feac00e
diff --git a/apps/plugins/puzzles/puzzles.make b/apps/plugins/puzzles/puzzles.make
index b3f929d..604208c 100644
--- a/apps/plugins/puzzles/puzzles.make
+++ b/apps/plugins/puzzles/puzzles.make
@@ -53,7 +53,8 @@
$(APPSDIR)/plugins/lib/pluginlib_exit.h \
$(BUILDDIR)/sysfont.h \
$(PUZZLES_SRCDIR)/rbassert.h \
- $(TLSFLIB_DIR)/src/tlsf.h
+ $(TLSFLIB_DIR)/src/tlsf.h \
+ $(BUILDDIR)/lang_enum.h
# special pattern rule for compiling puzzles with extra flags
$(PUZZLES_OBJDIR)/%.o: $(PUZZLES_SRCDIR)/%.c $(PUZZLES_SRCDIR)/puzzles.make $(PUZZLES_SRCDIR)/rbcompat.h
diff --git a/tools/root.make b/tools/root.make
index 933fb51..7203933 100644
--- a/tools/root.make
+++ b/tools/root.make
@@ -211,7 +211,7 @@
$(LINKRAM) $(LINKROM) rockbox.elf rockbox.map rockbox.bin \
make.dep rombox.elf rombox.map rombox.bin rombox.ucl romstart.txt \
$(BINARY) $(FLASHFILE) uisimulator bootloader flash $(BOOTLINK) \
- rockbox.apk
+ rockbox.apk lang_enum.h rbversion.h
#### linking the binaries: ####