Verbesserung Makefile

This commit is contained in:
herdingto103621 committed 2026-10-29 14:33:46 +01:00
1 parent e121605cbf
commit 6c72054f42
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#define MAX_RAND_TRIES_PER_WORD 10 #define MAX_RAND_TRIES_PER_WORD 100
#define EMPTY_CHAR 0 #define EMPTY_CHAR 0
//TODO: Spiellogik implementieren: //TODO: Spiellogik implementieren:
+1 -1
View File
@@ -46,7 +46,7 @@ int main(int argc, char *argv[])
startGame(wordSalad, SALAD_SIZE, words, placedWords, SALAD_SIZE); startGame(wordSalad, SALAD_SIZE, words, placedWords, SALAD_SIZE);
} }
else{ else{
printf("Error! Words coundn't be placed..."); printf("Error! Words coundn't be placed...\n");
} }
} }
+2 -2
View File
@@ -25,8 +25,8 @@ wordsalad_initial:
# -------------------------- # --------------------------
# Normales Spiel bauen # Normales Spiel bauen
# -------------------------- # --------------------------
wordsalad_myversion: wordsalad_myversion: main.o input.o game.o graphicalGame.o
$(CC) -o wordsalad_initial -L. $(codefolder)/main.c $(BINARIES)/libraylib.a $(LDFLAGS) $(CC) $(CFLAGS) -o wordsalad_myversion.exe main.o input.o game.o graphicalGame.o $(BINARIES)/libraylib.a $(LDFLAGS)
wordsalad: main.o input.o game.o graphicalGame.o $(BINARIES)/libraylib.a wordsalad: main.o input.o game.o graphicalGame.o $(BINARIES)/libraylib.a
$(CC) $(CFLAGS) -o wordsalad main.o input.o game.o graphicalGame.o $(BINARIES)/libraylib.a $(LDFLAGS) $(CC) $(CFLAGS) -o wordsalad main.o input.o game.o graphicalGame.o $(BINARIES)/libraylib.a $(LDFLAGS)