MakeFile fix
This commit is contained in:
parent
a306a62ad7
commit
382cdd8f4d
@ -1,9 +1,8 @@
|
||||
CC = gcc
|
||||
CFLAGS = -g -Wall -I$(raylibfolder)
|
||||
raylibfolder = ./raylib
|
||||
CFLAGS = -g -Wall
|
||||
LDFLAGS = -lopengl32 -lgdi32 -lwinmm
|
||||
BINARIES = ./windows
|
||||
|
||||
raylib_folder = ./raylib
|
||||
unityfolder = ./unity
|
||||
|
||||
# --------------------------
|
||||
@ -12,6 +11,12 @@ unityfolder = ./unity
|
||||
wordsalad_initial:
|
||||
$(CC) -o wordsalad_initial $(BINARIES)/libwordsalad_complete.a $(BINARIES)/libraylib.a $(LDFLAGS)
|
||||
|
||||
# --------------------------
|
||||
# Mein Target
|
||||
# --------------------------
|
||||
|
||||
wordsalad_myversion:
|
||||
$(CC) -o wordsalad_myversion $(BINARIES)/main.c $(BINARIES)libwordsalad.a
|
||||
|
||||
# --------------------------
|
||||
# Normales Spiel bauen
|
||||
@ -29,7 +34,7 @@ game.o: game.c
|
||||
$(CC) -c $(CFLAGS) game.c
|
||||
|
||||
graphicalGame.o: graphicalGame.c
|
||||
$(CC) -I$(raylib_folder) -c $(CFLAGS) graphicalGame.c
|
||||
$(CC) -I$(raylibfolder) -c $(CFLAGS) graphicalGame.c
|
||||
|
||||
# --------------------------
|
||||
# Unit Tests
|
||||
|
Loading…
x
Reference in New Issue
Block a user