libqaeda

Unnamed repository; edit this file 'description' to name the repository.
Info | Log | Files | Refs | README | LICENSE

Makefile (380B)


      1 INCLUDES := `pkg-config --cflags libtasn1`
      2 LIBS := `pkg-config --libs libtasn1`
      3 LDFLAGS += $(LIBS)
      4 
      5 all: compile dynamic
      6 
      7 src:
      8 	$(CC) $(CFLAGS) generate.c -o generate_asn1 $(LDFLAGS)
      9 
     10 %.o: %_asn1_tab.c
     11 	$(CC) $< -o $* $(LDFLAGS)
     12 
     13 compile: generate defs_asn1_tab.o
     14 
     15 generate: src
     16 	./generate_asn1
     17 
     18 clean:
     19 	rm -vf *.o
     20 	rm -vf *_tab.c
     21 	rm -vf generate_asn1
     22 
     23 dynamic:
     24 
     25 
     26 .PHONY: clean