default: main libs=-lglfw -lpng CPPFLAGS=$(libs) -I "include" `pkg-config --cflags freetype2` -lfreetype -g -Wfatal-errors CFLAGS=-I "include" ${pkg-config --cflags freetype2} -Wfatal-errors main: main.cpp glad.o shader.o math.o chunk.o texture.o text.o world.o blockFrame.o player.o game.o mainMenu.o button.o Rectangle.o widget.o newWorld.o entry.o savedWorlds.o hotbar.o blockIcon.o blockIcon.o: blockIcon.cpp hotbar.o: hotbar.cpp savedWorlds.o: savedWorlds.cpp entry.o: entry.cpp widget.o: widget.cpp newWorld.o: newWorld.cpp Rectangle.o: Rectangle.cpp button.o: button.cpp game.o: game.cpp mainMenu.o: mainMenu.cpp player.o: player.cpp blockFrame.o: blockFrame.cpp world.o: world.cpp text.o: text.cpp math.o: math.cpp chunk.o: chunk.cpp texture.o: texture.cpp shader.o: shader.cpp glad.o: glad.c clean: rm main *.o menu: menu.cpp glad.o text.o texture.o shader.o math.o