forked from freudenreichan/info2Praktikum-Wortsalat
Verbesserung Makefile
This commit is contained in:
1 parent
e121605cbf
commit
6c72054f42
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -3,7 +3,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define MAX_RAND_TRIES_PER_WORD 10
|
||||
#define MAX_RAND_TRIES_PER_WORD 100
|
||||
#define EMPTY_CHAR 0
|
||||
|
||||
//TODO: Spiellogik implementieren:
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@ int main(int argc, char *argv[])
|
||||
startGame(wordSalad, SALAD_SIZE, words, placedWords, SALAD_SIZE);
|
||||
}
|
||||
else{
|
||||
printf("Error! Words coundn't be placed...");
|
||||
printf("Error! Words coundn't be placed...\n");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -25,8 +25,8 @@ wordsalad_initial:
|
||||
# --------------------------
|
||||
# Normales Spiel bauen
|
||||
# --------------------------
|
||||
wordsalad_myversion:
|
||||
$(CC) -o wordsalad_initial -L. $(codefolder)/main.c $(BINARIES)/libraylib.a $(LDFLAGS)
|
||||
wordsalad_myversion: main.o input.o game.o graphicalGame.o
|
||||
$(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
|
||||
$(CC) $(CFLAGS) -o wordsalad main.o input.o game.o graphicalGame.o $(BINARIES)/libraylib.a $(LDFLAGS)
|
||||
|
||||
Reference in new issue
Block a user