Browse Source

Do not have make comments as recipes

doc_update_sequoia
Damiano Boppart 5 years ago
parent
commit
d902e4cefb
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      asn.1/Makefile
  2. +1
    -1
      db/Makefile

+ 2
- 2
asn.1/Makefile View File

@ -11,13 +11,13 @@ ALL_OBJECTS=$(subst .c,.o,$(ALL_SOURCE))
libasn1.a: $(ALL_OBJECTS)
ar -rc $@ $^
# "converter-sample.c" is the example file containing a "main()" function generated by ans1c.
.PHONY: generate
generate: Sync-Protocols.c
# "converter-sample.c" is the example file containing a "main()" function generated by ans1c.
rm -f converter-sample.c
# '-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.
%.o: %.c %.h
# '-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.
$(CC) $(CFLAGS) -Wno-cpp -I. $(ASN1C_INC) -c $< -o $@
Sync-Protocols.c: pEp.asn1 devicegroup.asn1 protocols.asn1


+ 1
- 1
db/Makefile View File

@ -10,8 +10,8 @@ db: system.db
DICOS = $(wildcard *.csv)
# The 'mv' keeps a backup db around
system.db: create_system_db.sql $(DICOS)
# Keep a backup db around
-mv -f $@ $@~
sqlite3 -batch $@ < $<
for c in $(DICOS) ; do echo "$$c" ; echo .import "$$c" wordlist | sqlite3 -batch -csv $@ ; done


Loading…
Cancel
Save