Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
remove files, update MakeFile, add .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Davenchy committed Sep 24, 2023
1 parent 1a2283d commit b43698a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build/
ping_pong
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Binary file removed cping_pong
Binary file not shown.

0 comments on commit b43698a

Please sign in to comment.