diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..092b93d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +build/ +ping_pong diff --git a/Makefile b/Makefile index b0fddda..eb17291 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ OBJECT := $(patsubst $(SRC)/%.cpp, $(BUILD)/%.o, $(SOURCE)) .PHONY: run -cping_pong: $(OBJECT) $(BUILD)/main.o +ping_pong: $(OBJECT) $(BUILD)/main.o gcc -Wall -lraylib -lm -o $@ $^ $(BUILD)/main.o: main.cpp @@ -15,5 +15,5 @@ $(BUILD)/main.o: main.cpp $(BUILD)/%.o: $(SRC)/%.cpp gcc -Wall -c $< -o $@ -run: cping_pong - @./cping_pong +run: ping_pong + @./ping_pong diff --git a/cping_pong b/cping_pong deleted file mode 100755 index 136f3a9..0000000 Binary files a/cping_pong and /dev/null differ