diff options
-rw-r--r-- | apps/lang/lang.make | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/lang/lang.make b/apps/lang/lang.make index 94a12254a5..1282dcdbb8 100644 --- a/apps/lang/lang.make +++ b/apps/lang/lang.make | |||
@@ -37,13 +37,13 @@ $(BUILDDIR)/lang/lang_core.o: $(BUILDDIR)/lang/lang.h $(BUILDDIR)/lang/lang_core | |||
37 | # instead we pretend that genlang create lang_core.c and that lang.c depends from lang.h | 37 | # instead we pretend that genlang create lang_core.c and that lang.c depends from lang.h |
38 | # it will work fine as long as one never manually removes lang.c and not lang.h, and it will avoid | 38 | # it will work fine as long as one never manually removes lang.c and not lang.h, and it will avoid |
39 | # race conditions such as running genlang twice or worse in parallel with other things! | 39 | # race conditions such as running genlang twice or worse in parallel with other things! |
40 | $(BUILDDIR)/lang/lang.h: $(APPSDIR)/lang/$(ENGLISH).lang $(BUILDDIR)/apps/features | 40 | $(BUILDDIR)/lang/lang.h: $(APPSDIR)/lang/$(ENGLISH).lang $(BUILDDIR)/apps/features $(TOOLSDIR)/genlang |
41 | $(call PRINTS,GEN lang.h) | 41 | $(call PRINTS,GEN lang.h) |
42 | $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \ | 42 | $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \ |
43 | perl -s $(TOOLSDIR)/genlang -p=$(BUILDDIR)/lang -t=$(MODELNAME)$$feat $< | 43 | perl -s $(TOOLSDIR)/genlang -p=$(BUILDDIR)/lang -t=$(MODELNAME)$$feat $< |
44 | $(BUILDDIR)/lang/lang_core.c: $(BUILDDIR)/lang/lang.h | 44 | $(BUILDDIR)/lang/lang_core.c: $(BUILDDIR)/lang/lang.h $(TOOLSDIR)/genlang |
45 | 45 | ||
46 | $(BUILDDIR)/lang_enum.h: $(BUILDDIR)/lang/lang.h | 46 | $(BUILDDIR)/lang_enum.h: $(BUILDDIR)/lang/lang.h $(TOOLSDIR)/genlang |
47 | 47 | ||
48 | # NOTE: for some weird reasons in GNU make, multi targets rules WITH patterns actually express | 48 | # NOTE: for some weird reasons in GNU make, multi targets rules WITH patterns actually express |
49 | # the fact that the two files are created as the result of one invocation of the rule | 49 | # the fact that the two files are created as the result of one invocation of the rule |