kee

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

Makefile (529B)


      1 OBJS := $(patsubst %.c,%.o,$(filter-out test.c gen.c,$(wildcard *.c)))
      2 INCLUDES := -I.
      3 CFLAGS += $(INCLUDES)
      4 VERSION = 0.0.1
      5 
      6 all: $(OBJS)
      7 
      8 test: all
      9 	$(CC) $(CFLAGS) test.c beamenu.o export.o import.o -o test.out $(LDFLAGS)
     10 
     11 %.o: %.c
     12 	$(CC) $(CFLAGS) -c $< -o $@ $(LDFLAGS)
     13 
     14 clean:
     15 	rm -vf *.o
     16 	rm -vf *.out
     17 	rm -vf *.tar.gz
     18 	rm -vf beamenu_gen
     19 	rm -vf beamenu_defs.h
     20 
     21 archive:
     22 	git archive --format=tar.gz HEAD -o beamenu-$(VERSION).tar.gz
     23 
     24 gen: all
     25 	$(CC) $(CFLAGS) gen.c beamenu.o export.o import.o -o beamenu_gen $(LDFLAGS)