Map reader done.
This commit is contained in:
9
Makefile
9
Makefile
@@ -1,6 +1,6 @@
|
||||
CC = gcc
|
||||
SOURCES = src/main.c src/game_state.c src/in_game.c
|
||||
OBJECTS = obj/main.o obj/game_state.o obj/in_game.o
|
||||
SOURCES = src/main.c src/game_state.c src/in_game.c src/map.c
|
||||
OBJECTS = obj/main.o obj/game_state.o obj/in_game.o obj/map.o
|
||||
TARGET = bin/cyjam
|
||||
CFLAGS = -Wall -I./include -std=c99
|
||||
LDFLAGS = -L./lib
|
||||
@@ -21,7 +21,10 @@ obj/main.o: src/main.c include/constants.h include/game_state.h
|
||||
obj/game_state.o: src/game_state.c include/game_state.h include/in_game.h
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
obj/in_game.o: src/in_game.c include/in_game.h include/game_state.h
|
||||
obj/in_game.o: src/in_game.c include/in_game.h include/game_state.h include/map.h
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
obj/map.o: src/map.c include/map.h
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
clean:
|
||||
|
Reference in New Issue
Block a user