summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2020-01-16 01:31:22 -0800
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2020-01-16 01:31:22 -0800
commitb1e9dd9e3cc6e1c45419a3534a1657202e5b1de4 (patch)
treeac87db0a6eb3b78c7d77ac2d930e210203025e7d /Makefile
parentb7f3fd179523123277705d5c50537cdf1b5dda2e (diff)
downloadjournal-b1e9dd9e3cc6e1c45419a3534a1657202e5b1de4.tar.gz
journal-b1e9dd9e3cc6e1c45419a3534a1657202e5b1de4.tar.xz
add COPYING and Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..637e94d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+CFLAGS += -O2 -Wall
+
+TARGET = journal
+
+SRC = $(wildcard *.c)
+OBJ = $(SRC:.c=.o)
+
+all: $(TARGET)
+
+$(TARGET): $(OBJ)
+
+clean:
+ rm -f $(TARGET) $(OBJ)
+
+.PHONY: all clean