Alles fertig babakrass
This commit is contained in:
parent
ad5a4de563
commit
f637b84844
@ -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);
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user