CC=clang
CFLAGS= -c -g
DEBUG_LIBS= -lallegro-debug -lallegro_main-debug -lallegro_image-debug -lallegro_ttf-debug -ltcmalloc -ljansson
LIBS= -lallegro -lallegro_main -lallegro_image  -lallegro_ttf -ltcmalloc -ljansson
SRC= engine.c core.c display.c background.c helper_funcs.c 
OBJ= engine.o core.o display.o background.o helper_funcs.o

furi : $(OBJ)
	$(CC) $(OBJ) -o $@ $(LIBS)
furi_debug : $(OBJ)
	$(CC) $(OBJ) -o $@ $(DEBUG_LIBS)
.o:
	$(CC) $(CFLAGS) $< -c $@

clean:
	rm -rf *o furi furi_debug
