summaryrefslogtreecommitdiff
path: root/Makefile
blob: 7dd840e0e4a49c11083fbcf7b810e7855a10c289 (plain)
    1 out = gpgedit
    2 CCOPTS = --std=gnu99 -Wall
    3 
    4 all:
    5 	if [ ! -d obj ]; then mkdir obj; fi
    6 	cc $(CCOPTS) $(DBG) -c src/strarray.c -o obj/strarray.o
    7 	cc $(CCOPTS) $(DBG) -lgpgme -c src/gpg.c -o obj/gpg.o
    8 	cc $(CCOPTS) $(DBG) -lgpgme -c src/gpg_keyids.c -o obj/gpg_keyids.o
    9 	cc $(CCOPTS) $(DBG) -lgpgme obj/*.o src/main.c -o $(out)
   10 
   11 debug:
   12 	make all DBG=-g

Generated by cgit