Do not have make comments as recipes ENGINE-228
authorDamiano Boppart <damiano@pep-security.net>
Thu, 17 Aug 2017 13:36:49 +0000
branchENGINE-228
changeset 1969ba5eb0aa23a4
parent 1968 e30b1515b7b9
child 1970 9f55b8970727
Do not have make comments as recipes
asn.1/Makefile
db/Makefile
     1.1 --- a/asn.1/Makefile	Thu Aug 17 13:18:19 2017 +0000
     1.2 +++ b/asn.1/Makefile	Thu Aug 17 13:36:49 2017 +0000
     1.3 @@ -11,13 +11,13 @@
     1.4  libasn1.a: $(ALL_OBJECTS)
     1.5  	ar -rc $@ $^
     1.6  
     1.7 +# "converter-sample.c" is the example file containing a "main()" function generated by ans1c.
     1.8  .PHONY: generate
     1.9  generate: Sync-Protocols.c
    1.10 -	# "converter-sample.c" is the example file containing a "main()" function generated by ans1c.
    1.11  	rm -f converter-sample.c
    1.12  
    1.13 +# '-Wno-cpp' is required to suppress the warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" otherwise printed during the compilation of every asn1c-generated C file.
    1.14  %.o: %.c %.h
    1.15 -	# '-Wno-cpp' is required to suppress the warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" otherwise printed during the compilation of every asn1c-generated C file.
    1.16  	$(CC) $(CFLAGS) -Wno-cpp -I. $(ASN1C_INC) -c $< -o $@
    1.17  
    1.18  Sync-Protocols.c: pEp.asn1 devicegroup.asn1 protocols.asn1
     2.1 --- a/db/Makefile	Thu Aug 17 13:18:19 2017 +0000
     2.2 +++ b/db/Makefile	Thu Aug 17 13:36:49 2017 +0000
     2.3 @@ -10,8 +10,8 @@
     2.4  
     2.5  DICOS = $(wildcard *.csv)
     2.6  
     2.7 +# The 'mv' keeps a backup db around
     2.8  system.db: create_system_db.sql $(DICOS)
     2.9 -	# Keep a backup db around
    2.10  	-mv -f $@ $@~ 
    2.11  	sqlite3 -batch $@ < $<
    2.12  	for c in $(DICOS) ; do echo "$$c" ; echo .import "$$c" wordlist | sqlite3 -batch -csv $@ ; done