kee

Offline IOU signer with QR as transport
git clone git://holbrook.no/kee-gtk4.git
Info | Log | Files | Refs | README | LICENSE

Makefile (1108B)


      1 all: subs
      2 
      3 core: subs
      4 
      5 gtk: core
      6 	make -C src/gtk
      7 
      8 src: subs
      9 
     10 subs: glade
     11 	make -C src all
     12 
     13 glade:
     14 	gtk4-builder-tool simplify --3to4 glade.ui > src/gtk/main.ui
     15 
     16 clean:
     17 	make -C src clean
     18 	rm -vf testdata_asn1schema.py
     19 
     20 
     21 run: gtk all
     22 	cd testdata && ln -svf ../src/gtk/beamenu.dat .
     23 	G_DEBUG=3 G_MESSAGES_DEBUG=3 ./src/gtk/a.out
     24 
     25 debug: gtk testdata all
     26 	#G_DEBUG=all G_MESSAGES_DEBUG=all ./src/gtk/a.out
     27 	cd testdata && ln -svf ../src/gtk/beamenu.dat .
     28 	G_DEBUG=all G_MESSAGES_DEBUG="Kee Gio Glib" ./src/gtk/a.out
     29 
     30 gdb: gtk testdata all
     31 	G_DEBUG=all G_MESSAGES_DEBUG=all gdb ./src/gtk/a.out
     32 
     33 
     34 #test: gtk all test_src test_gtk
     35 test: test_src test_gtk
     36 
     37 testdata_schema:
     38 	asn1ate src/asn1/schema_entry.txt > testdata_asn1schema.py
     39 
     40 test_src: all
     41 	make -C src/tests test
     42 
     43 test_gtk: testdata gtk all
     44 	make -C src/gtk/tests test
     45 
     46 testdata: testdata_schema
     47 	rm -vrf testdata_mdb
     48 	#python testdata.py
     49 	python testdata_asn1.py
     50 	make -C src/tests testdata
     51 
     52 testdata_gtk: gtk testdata
     53 	cd testdata && ln -svf ../src/gtk/beamenu.dat beamenu.dat
     54 
     55 doc:
     56 	pandoc -fgfm -tplain README.md > README
     57 
     58 cmd: src
     59 	make -C src/cmd