fix level mesh not updating (#477)
This commit is contained in:
1 parent
f65eb9a003
commit
b225c91d58
1 file changed
+1
-4
@@ -819,10 +819,7 @@ $(BUILD_DIR)/src/game/version_data.h: tools/make_version.sh
|
||||
ifeq ($(FIXLIGHTS),1)
|
||||
# This must not be run multiple times at once, so we run it ahead of time rather than in a rule
|
||||
DUMMY != $(FIXLIGHTS_PY) actors
|
||||
# Modify the leveldata build rule to fix lights for any files in that level's folder
|
||||
$(BUILD_DIR)/levels/%/leveldata.o: levels/%/leveldata.c
|
||||
$(V)$(FIXLIGHTS_PY) $(dir $<)
|
||||
$(V)$(CC) -c $(CFLAGS) -MMD -MF $(BUILD_DIR)/$*.d -o $@ $<
|
||||
DUMMY != $(FIXLIGHTS_PY) levels
|
||||
endif
|
||||
$(BUILD_DIR)/%.o: %.c
|
||||
$(call print,Compiling:,$<,$@)
|
||||
|
||||
Reference in new issue
Block a user