Do not have make comments as recipes

doc_update_sequoia
Damiano Boppart 6 years ago
parent e4ccad37dc
commit d902e4cefb

@ -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

@ -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