aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 13462bc..8b56258 100644
--- a/Makefile
+++ b/Makefile
@@ -30,8 +30,12 @@ $(OBJECTDIR)/%.o: $(SOURCEDIR)/%.c
@echo [CC] $<
@$(CC) $(CFLAGS) -c $< -o $@
-.PHONY: clean
+#sudo setcap 'cap_net_bind_service=+ep' /path/to/prog
+#to allow port access
+run: build
+ $(BUILDDIR)/$(OUTPUT)
+.PHONY: clean
clean:
@echo [RM] $(OBJ)
@echo [RM] $(BUILDDIR)/$(OUTPUT)