summaryrefslogtreecommitdiff
path: root/Makefile
blob: eb9cf159c8de0b5275ec8465ac760100c0f011e2 (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/strll.c -o obj/strll.o
    7 	cc $(CCOPTS) $(DBG) -c src/logger.c -o obj/logger.o
    8 	cc $(CCOPTS) $(DBG) -lgpgme -c src/gpgedit_config.c -o obj/gpgedit_config.o
    9 	cc $(CCOPTS) $(DBG) -lgpgme -c src/gpg.c -o obj/gpg.o
   10 	cc $(CCOPTS) $(DBG) -lgpgme obj/*.o src/main.c -o $(out)
   11 
   12 debug:
   13 	make all DBG=-g

Generated by cgit