aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-11-30 16:05:41 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-11-30 16:05:41 +0100
commitd2c641eb5b516783adfe2a236bc18412cd89af71 (patch)
tree17b9ebf08a749991bab83abd4771d05188b33049 /Makefile
parent3efdb35480dd6fa656d0728cab5c8dc76eaba24c (diff)
downloaddns-d2c641eb5b516783adfe2a236bc18412cd89af71.tar.gz
asdf
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)