Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
felixSchl committed Feb 5, 2021
1 parent ed59eb9 commit 496ff46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
default: test
default: main
.PHONY: default

include $(PUREC_DIR)/mk/target.mk

main: .spago

main_CFLAGS = -g
main_LD_FLAGS =

$(eval $(call purs_mk_target,main,Test.Main,src test))

test: main
valgrind --track-origins=yes --leak-check=full ./main.out
check: main
./main.out

.PHONY: check
4 changes: 2 additions & 2 deletions spago.dhall
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ name = "control"
, dependencies = ["prelude", "effect"]
, packages = ../purec--master/package-sets/packages.dhall
, dependencies = [ "prelude", "effect" ]
, packages = ../pure-c/package-sets/packages.dhall
, sources = [ "src/**/*.purs", "test/**/*.purs" ]
}

0 comments on commit 496ff46

Please sign in to comment.