Skip to content

Commit

Permalink
makefile: revert back makefile changes from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni500github authored May 17, 2024
1 parent 25bfcb6 commit 466fbf6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ LDFLAGS := -L./$(BUILDDIR)/fmt -L./$(BUILDDIR)/cpr $(LDFLAGS)

is_cpr_installed = $(shell ldconfig -p | grep libcpr > /dev/null && echo -n yes)

all: mkbuilddir cpr fmt toml taur

mkbuilddir: $(BUILDDIR)
mkdir -p $(BUILDDIR)
all: cpr fmt toml taur

cpr:
ifneq ($(is_cpr_installed), yes)
Expand Down Expand Up @@ -60,6 +57,7 @@ locale:
scripts/make_mo.sh locale/

taur: cpr fmt toml $(OBJ)
mkdir -p $(BUILDDIR)
$(CXX) $(OBJ) $(BUILDDIR)/toml++/toml.o -o $(BUILDDIR)/taur $(LDFLAGS)

clean:
Expand Down

0 comments on commit 466fbf6

Please sign in to comment.