Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ hackerrank: build

.PHONY: install
install: build
cp "$(INCLUDE_DIR)/*" /usr/include
cp "$(LIB_DIR)/*" /usr/lib
cp "$(INCLUDE_DIR)"/* /usr/include
cp "$(LIB_DIR)"/* /usr/lib

# TODO: add dependencies
.PHONY: pacman
pacman: build
rm -f "$(NAME)-$(VERSION)-*.pkg.tar.xz"
rm -f "$(NAME)-$(VERSION)-"*.pkg.tar.xz
fpm \
-C "$(BUILD_DIR)" \
-m "$(MAINTAINER)" \
Expand All @@ -98,7 +98,7 @@ pacman: build
# TODO: add dependencies
.PHONY: rpm
rpm: build
rm -f "$(NAME)-$(VERSION)-*.rpm"
rm -f "$(NAME)-$(VERSION)-"*.rpm
fpm \
-C "$(BUILD_DIR)" \
-m "$(MAINTAINER)" \
Expand Down