aboutsummaryrefslogtreecommitdiffstats
path: root/test/spass/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/spass/Makefile')
-rw-r--r--test/spass/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/spass/Makefile b/test/spass/Makefile
index d512ea95..7b9b4f65 100644
--- a/test/spass/Makefile
+++ b/test/spass/Makefile
@@ -1,6 +1,10 @@
include ../../Makefile.config
CC=../../ccomp
+ifeq ($(OCAML_LM_PROF), true)
+ override CCOMPOPTS+=-S
+endif
+
CFLAGS=$(CCOMPOPTS) -stdlib ../../runtime -dparse -dclight -dasm -fstruct-return
SRCS=analyze.c clause.c clock.c closure.c cnf.c component.c \
@@ -14,6 +18,8 @@ SRCS=analyze.c clause.c clock.c closure.c cnf.c component.c \
all: spass
+all_s: all
+
spass: $(SRCS:.c=.o)
$(CC) $(CFLAGS) -o spass $(SRCS:.c=.o) $(LIBMATH)