Merge pull request #58 from Brawmario/fix-parallel-test-compile

Fix compilation order dependency for generated level.c file
This commit is contained in:
Jeremy Burns 2024-04-02 18:29:02 -06:00 committed by GitHub
commit f0e8b501e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,11 +58,10 @@ $(LIB_FILE): $(O_FILES)
$(LIB_H_FILE): src/libsm64.h
cp -f $< $@
test/level.c test/level.h: ./import-test-collision.py
test/level.c: ./import-test-collision.py
./import-test-collision.py
test/main.cpp: test/level.h
test/main.cpp test/gl20/gl20_renderer.c test/gl33core/gl33core_renderer.c: test/level.c
$(BUILD_DIR)/test/%.o: test/%.c
@$(CC) $(CFLAGS) -MM -MP -MT $@ -MF $(BUILD_DIR)/test/$*.d $<