Skip to content

Commit c2242c5

Browse files
Stop setting TINYCBOR_VERSION in the build
For TinyCBOR 0.5, I'd like to make it numeric. Anyway, nothing was using this. Signed-off-by: Thiago Macieira <[email protected]>
1 parent 80d76e7 commit c2242c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ tag: distcheck
186186
.SECONDARY:
187187

188188
cflags := $(CPPFLAGS) -I$(SRCDIR)src
189-
cflags += -DTINYCBOR_VERSION=\"$(VERSION)$(DIRTYSRC)\"
189+
cflags += -DTINYCBOR_VERSION_SUFFIX=\"$(DIRTYSRC)\"
190190
cflags += -std=c99 $(CFLAGS)
191191
%.o: %.c
192192
@test -d $(@D) || $(MKDIR) $(@D)

Makefile.nmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ tag:
3838
@perl maketag.pl
3939

4040
{src\}.c{src\}.obj:
41-
$(CC) -nologo $(CFLAGS) -Isrc -DTINYCBOR_VERSION="" -c -Fo$@ $<
41+
$(CC) -nologo $(CFLAGS) -Isrc -DTINYCBOR_VERSION_SUFFIX="" -c -Fo$@ $<
4242

0 commit comments

Comments
 (0)