summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1f1175c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+out = gpgedit
+CCOPTS = --std=gnu99 -Wall
+
+all:
+ if [ ! -d obj ]; then mkdir obj; fi
+ cc $(CCOPTS) $(DBG) -lgpgme -c src/gpg.c -o obj/gpg.o
+ cc $(CCOPTS) $(DBG) -lgpgme obj/*.o src/main.c -o $(out)
+
+debug:
+ make all DBG=-g

Generated by cgit