aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..2d89131
--- /dev/null
+++ b/makefile
@@ -0,0 +1,18 @@
+# the compiler: gcc for C program, define as g++ for C++
+CC = g++
+
+# compiler flags:
+PREFLAGS =
+POSTFLAGS = -lncurses -ljack
+
+# the build target executable:
+TARGET = vaud
+
+
+all: $(TARGET)
+
+$(TARGET): $(TARGET).c
+ $(CC) $(PREFLAGS) -o $(TARGET) $(TARGET).c $(POSTFLAGS)
+
+clean:
+ $(RM) $(TARGET)