summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-04-06 02:53:33 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-04-06 02:53:33 -0700
commitf58d9f7d6f3bec1c3c762d41a28cc7af9ff6f6b1 (patch)
tree0eb5e11aa413caacc31368069a708c4abdddc323
parent8865ab266cc10bd19af804dea5360a0ec373ab0a (diff)
downloaddartboat-f58d9f7d6f3bec1c3c762d41a28cc7af9ff6f6b1.tar.gz
dartboat-f58d9f7d6f3bec1c3c762d41a28cc7af9ff6f6b1.tar.xz
add Makefile
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b4dcc2c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+CFLAGS += -O2 -Wall -Wextra -Wpedantic
+LDFLAGS += -lm -lncurses
+
+TARGET := dartbot
+
+SRC := $(wildcard *.c)
+OBJ := $(SRC:.c=.o)
+
+all: $(TARGET)
+
+$(TARGET): $(OBJ)
+
+clean:
+ rm -f $(TARGET) $(OBJ)
+
+.PHONY: all clean