summaryrefslogtreecommitdiff
path: root/Makefile
blob: c00cbccf896a2248fe1c68211e426325c78a4337 (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
   14 
   15 clean:
   16 	if [ -d obj ]; then rm -f obj/*; fi

Generated by cgit