Skip to content

Commit

Permalink
{igfl,pathfinder}: refactor Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
XPhyro committed Aug 19, 2024
1 parent d91e445 commit 1d99bb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cpp/project/igfl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ LIB_OBJ_ = $(LIB_SRC:src/%=%)
LIB_OBJ = $(LIB_OBJ_:.cpp=.o)

run: $(EXE)
./igfl
./$(EXE)

$(EXE): $(OBJ) $(LIB_OBJ)
$(CXX) $(LDFLAGS) $^ -o $(EXE)
Expand Down
2 changes: 1 addition & 1 deletion src/cpp/project/pathfinder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ OBJ_ = $(SRC:src/%=%)
OBJ = $(OBJ_:.cpp=.o)

run: $(EXE)
./pathfinder
./$(EXE)

$(EXE): $(OBJ)
$(CXX) $(LDFLAGS) $^ -o $(EXE)
Expand Down

0 comments on commit 1d99bb2

Please sign in to comment.