1. Tobias W. Kjeldsen
  2. adblock-c

Commits

Tobias W. Kjeldsen  committed 8221bcc

Added install and uninstall to Makefile.

  • Participants
  • Parent commits aa36dd4
  • Branches default

Comments (0)

Files changed (1)

File Makefile

View file
 $(CPPOBJS): %.o: %.cpp
 	$(CXX) $(CFLAGS) -c $< -o $@
 
+install:
+	cp adblockc /usr/bin/
+	chmod 755 /usr/bin/adblockc
+	cp provider.urls /etc/
+	chmod 755 /etc/provider.urls
+
+uninstall:
+	rm /usr/bin/adblockc
+	rm /etc/provider.urls
+
 clean:
 	rm -f $(OBJS) adblockc