display SDL
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,6 +1,6 @@
|
||||
# Variable
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -Wextra $(shell pkg-config --cflags --libs sdl2)
|
||||
CFLAGS = -Wall -Wextra $(shell pkg-config --cflags --libs sdl2 SDL2_image)
|
||||
OBJ = main.o function.o display.o read.o
|
||||
TARGET = sokoban
|
||||
|
||||
@@ -15,7 +15,7 @@ main.o : main.c function.h display.h read.h
|
||||
function.o : function.c function.h
|
||||
$(CC) $(CFLAGS) -c function.c
|
||||
|
||||
display.o: display.c display.h
|
||||
display.o: display.c display.h function.h
|
||||
$(CC) $(CFLAGS) -c display.c
|
||||
|
||||
read.o: read.c read.h function.h
|
||||
|
||||
Reference in New Issue
Block a user