Header files ignored when compiling
Posted: Sun Jun 13, 2021 5:06 pm
Hello, I'm relatively new to SGDK and C in general, and I'm trying to make a game with a separate file for the player (player.h) (already included in main.c) so that main.c doesn't get too messy. However, even though it works for the most part, it seems that the compiler only detects changes when I type or erase something in main.c, but not when I change things in other files.
So if I change something in player.h, when I compile the game, nothing changes, then I have to change something in main.c for it to work, which is a bit inconvenient. I apologize if this has been asked before but I couldn't find anything, so any help would be appreciated.
So if I change something in player.h, when I compile the game, nothing changes, then I have to change something in main.c for it to work, which is a bit inconvenient. I apologize if this has been asked before but I couldn't find anything, so any help would be appreciated.