Engine ready.
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,5 +1,5 @@
|
||||
CC = gcc
|
||||
OBJECTS = obj/main.o obj/game_state.o obj/in_game.o obj/main_menu.o obj/map.o obj/intro.o
|
||||
OBJECTS = obj/main.o obj/game_state.o obj/in_game.o obj/main_menu.o obj/map.o obj/intro.o obj/game_over.o
|
||||
TARGET = bin/cyjam
|
||||
CFLAGS = -Wall -I./include -std=c99
|
||||
LDFLAGS = -L./lib
|
||||
@@ -29,6 +29,9 @@ obj/main_menu.o: src/main_menu.c include/main_menu.h include/game_state.h
|
||||
obj/intro.o: src/intro.c include/intro.h include/intro_img.h include/game_state.h
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
obj/game_over.o: src/game_over.c include/game_over.h include/game_state.h
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
obj/map.o: src/map.c include/map.h
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user