2 Commits
Author SHA1 Message Date
kayaoglura103830 fd6e92d674 gitignore verbessert 2026-10-26 08:48:52 +01:00
kayaoglura103830 b91ef39e6f main vervollständigen, make file erweitert 2026-10-26 08:19:14 +01:00
5 changed files with 23 additions and 4 deletions

No files matched your search

+2 -1
View File
@@ -35,9 +35,10 @@
*.i*86
*.x86_64
*.hex
Startcode/wordsalad_myversion
Startcode/wordsalad_initial
Startcode/wordsalad
test
runtest
# Debug files
*.dSYM/
+14 -2
View File
@@ -38,8 +38,20 @@ int main(int argc, char *argv[])
// TODO:
// Check if all words were successfully placed
// Start the game if successful
// error message if some words couldn't be placed
if (placedWords == wordCount)
{
// Start the game if successful
startGame(wordSalad, SALAD_SIZE, words, wordCount, 600);
}
else
{
// error message if some words couldn't be placed
fprintf(stderr, "Fehler. Es konnten nicht alle Wörter Platziert werden.");
exitCode = EXIT_FAILURE;
}
}
else
+7 -1
View File
@@ -22,6 +22,12 @@ codefolder = .
wordsalad_initial:
$(CC) -o wordsalad_initial -L. $(BINARIES)/libwordsalad_complete.a $(BINARIES)/libraylib.a $(LDFLAGS)
# Eigenes Target
wordsalad_myversion: main.o graphicalGame.o $(BINARIES)/libraylib.a
$(CC) $(CFLAGS) -o wordsalad_myversion main.o graphicalGame.o $(BINARIES)/libwordsalad.a $(BINARIES)/libraylib.a $(LDFLAGS)
# --------------------------
# Normales Spiel bauen
# --------------------------
@@ -55,5 +61,5 @@ clean:
ifeq ($(OS),Windows_NT)
del /f *.o *.exe
else
rm -f *.o wordsalad $(TEST_BIN)
rm -f *.o wordsalad wordsalad_initial wordsalad_myversion $(TEST_BIN)
endif
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.