Permalink
Browse files

New ifdef functionality simplifies Holmakefile in computability/lambd…

…a example.
  • Loading branch information...
1 parent 71b9d77 commit b9354617b911bdec996c21a8e22f8c6f52d6c51d @mn200 mn200 committed Oct 24, 2011
Showing with 6 additions and 10 deletions.
  1. +6 −10 examples/computability/lambda/Holmakefile
@@ -1,20 +1,16 @@
INCLUDES = ../../lambda/barendregt ../../lambda/basics \
../../lambda/other-models ../
OPTIONS = QUIT_ON_FAILURE
+
+ifdef POLY
HOLHEAP = computability-heap
EXTRA_CLEANS = $(HOLHEAP) $(HOLHEAP).o
BARE_THYS = ../../lambda/barendregt/normal_orderTheory \
../../lambda/other-models/pure_dBTheory
-DEPS_poly = $(patsubst %,%.uo,$(BARE_THYS))
-DEPS_mosml =
-
-TARGET_poly = $(HOLHEAP)
-TARGET_mosml = brackabs.sml
+DEPS = $(patsubst %,%.uo,$(BARE_THYS))
-COMM_mosml =
-COMM_poly = \
- $(protect $(HOLDIR)/bin/buildheap) -o computability-heap $(BARE_THYS)
+$(HOLHEAP): $(DEPS)
+ $(protect $(HOLDIR)/bin/buildheap) -o computability-heap $(BARE_THYS)
-$(TARGET_$(ML_SYSNAME)): $(DEPS_$(ML_SYSNAME))
- $(COMM_$(ML_SYSNAME))
+endif

0 comments on commit b935461

Please sign in to comment.