Skip to content

Commit

Permalink
test: use all: $(call NATIVE_STATICLIB,test) to build a C lib.
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyb committed Feb 8, 2020
1 parent d69b3b1 commit d20e4aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
@@ -1,6 +1,5 @@
-include ../tools.mk

all:
$(CC) -c test.c -o $(call STATICLIB,test) $(EXTRACFLAGS) $(EXTRACXXFLAGS)
all: $(call NATIVE_STATICLIB,test)
$(RUSTC) nonclike.rs -L$(TMPDIR) -ltest
$(call RUN,nonclike)
@@ -1,6 +1,5 @@
-include ../tools.mk

all:
$(CC) -c test.c -o $(call STATICLIB,test) $(EXTRACFLAGS) $(EXTRACXXFLAGS)
all: $(call NATIVE_STATICLIB,test)
$(RUSTC) nonclike.rs -L$(TMPDIR) -ltest
$(call RUN,nonclike)

0 comments on commit d20e4aa

Please sign in to comment.