fix generating games.c using 'make -C src gamelist' #24