source = $(shell find ./ -name "*.cpp") headers = $(shell find ./ -name "*.h") main: $(source) $(headers) c++ $(source) $(headers) -o ./bin/minecraft -Wall -Wextra clean: rm -rv bin/ mkdir bin/ touch bin/.placeholder