Skip to content

Commit

Permalink
Merge pull request #91 from formosa-crypto/feature/testing_makefile
Browse files Browse the repository at this point in the history
test/: Makefile: make the default action 'compile-and-run'
  • Loading branch information
tfaoliveira authored Sep 28, 2023
2 parents 317c204 + c5b0943 commit 69fa7e0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,15 @@ COMPILE = $(CC) $(CFLAGS) -o $@ $(DEFINE) $(DNAMESPACES) $(INCLUDES) crypto_
COMPILE_P = $(CC) $(CFLAGS) -o $@ $(DEFINE) $(DNAMESPACES) $(INCLUDES) crypto_$(OPERATION)/$(@F).c $(PRINT) $(RANDSRC) $(CIL)

# --------------------------------------------------------------------
.PHONY: __phony default main
.PHONY: __phony default compile-and-run reporter-and-err

default: main
default: compile-and-run

main:
compile-and-run:
$(MAKE) CI=1 -C $(SRC) all
$(MAKE) CI=1 all

reporter-and-err:
$(MAKE) CI=1 reporter
$(MAKE) CI=1 err

Expand Down

0 comments on commit 69fa7e0

Please sign in to comment.