Skip to content

Commit

Permalink
Fix: NML needs the graphics sources at least on first run, so add the…
Browse files Browse the repository at this point in the history
…m as order-only dependencies.
  • Loading branch information
frosch123 authored and andythenorth committed Dec 23, 2019
1 parent 9a1d4f6 commit be4207c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -102,7 +102,7 @@ $(NML_FILE): $(shell $(FIND_FILES) --ext=.py --ext=.pynml src)

# nmlc is used to compile a nfo file only, which is then used by grfcodec
# this means that the (slow) nmlc stage can be skipped if the nml file is unchanged (only graphics changed)
$(NFO_FILE): $(LANG_TARGET) $(NML_FILE)
$(NFO_FILE): $(LANG_TARGET) $(NML_FILE) | $(GRAPHICS_TARGET)
$(NMLC) $(NML_FLAGS) --nfo=$(NFO_FILE) $(NML_FILE)

# N.B grf codec can't compile into a specific target dir, so after compiling, move the compiled grf to appropriate dir
Expand Down

0 comments on commit be4207c

Please sign in to comment.