diff --git a/Start_Windows/input.c b/Start_Windows/input.c index 76a84ac..5aa0b52 100644 --- a/Start_Windows/input.c +++ b/Start_Windows/input.c @@ -24,7 +24,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) { // In Großbuchstaben umwandeln for (int i = 0; token[i]; i++) - token[i] = toupper((unsigned char)token[i]); + token[i] = (char)toupper((unsigned char)token[i]); // Wort kopieren strncpy(words[count], token, MAX_WORD_LEN - 1); diff --git a/Start_Windows/makefile b/Start_Windows/makefile index 274c9b0..cb77db8 100644 --- a/Start_Windows/makefile +++ b/Start_Windows/makefile @@ -12,6 +12,14 @@ unityfolder = ./unity wordsalad_initial: $(CC) -o wordsalad_initial $(BINARIES)/libwordsalad_complete.a $(BINARIES)/libraylib.a $(LDFLAGS) +# ------------------------------ +# Eigene Version mit libwordsalad.a +# ------------------------------ +wordsalad_myversion: + $(CC) -o wordsalad_myversion main.o game.o input.o graphicalGame.o $(BINARIES)/libraylib.a $(LDFLAGS) + +# .o Datein -> kompilierte .c Datein (Objektdateien) +#libraylib.a -> Graphik Bibliothek # -------------------------- # Normales Spiel bauen