Skip to content

Commit

Permalink
fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
jb55 committed Dec 23, 2023
1 parent a6b3c7d commit 3e3cd0f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ BIN=ndb

CHECKDATA=testdata/db/v0/data.mdb

all: lib ndb libnostrdb.a

%.o: %.c $(HEADERS)
$(CC) $(CFLAGS) -c -o $@ $<

all: lib ndb libnostrdb.a

libnostrdb.a: $(OBJS)
ar rcs $@ $(OBJS)

Expand Down Expand Up @@ -108,11 +108,11 @@ deps/LMDB_$(LMDB_VER).tar.gz: deps/.dir
deps/flatcc_$(FLATCC_VER).tar.gz: deps/.dir
curl -L https://github.com/jb55/flatcc/archive/$(FLATCC_VER).tar.gz -o $@

deps/flatcc/src/runtime/json_parser.c: deps/flatcc_$(FLATCC_VER).tar.gz deps/.dir
tar xf $<
rm -rf deps/flatcc
mv flatcc-$(FLATCC_VER) deps/flatcc
touch $@
#deps/flatcc/src/runtime/json_parser.c: deps/flatcc_$(FLATCC_VER).tar.gz deps/.dir
# tar xf $<
# rm -rf deps/flatcc
# mv flatcc-$(FLATCC_VER) deps/flatcc
# touch $@

deps/lmdb/lmdb.h: deps/LMDB_$(LMDB_VER).tar.gz deps/.dir
tar xf $<
Expand Down

0 comments on commit 3e3cd0f

Please sign in to comment.