From 75fc0938db3db48ab721d2986ad64c67fc01737b Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Sun, 18 May 1997 23:02:22 +0000
Subject: [PATCH] [project @ 1997-05-18 23:02:22 by sof] (partially) updated
 for new Makefile setup

---
 ghc/compiler/tests/deSugar/Makefile | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/ghc/compiler/tests/deSugar/Makefile b/ghc/compiler/tests/deSugar/Makefile
index e6dc7936e691..829a7723b31c 100644
--- a/ghc/compiler/tests/deSugar/Makefile
+++ b/ghc/compiler/tests/deSugar/Makefile
@@ -1,17 +1,22 @@
 TOP = ../../..
 include $(TOP)/mk/boilerplate.mk
 
-runtests :: $(patsubst %.hs, %.runtest, $(wildcard *.hs))
+SRCS = $(wildcard *.hs)
+HS_PROG = ds040
+
+PROG : $(SRCS)
+
+runtests :: $(wildcard *.hs)
 	@echo 'TODO: ds014a -- some things that should NOT go through'
 
 #SUBDIRS = cvh-ds-unboxed
 
 # These options apply to all tests
-RUN_TEST_OPTS = -noC -ddump-ds -dcore-lint
+HC_OPTS += -noC -ddump-ds -dcore-lint
 
-ds030_flags = -dppr-all
-ds035_flags = -fglasgow-exts
-ds039_flags = -dppr-all
+ds030_HC_OPTS = -dppr-all
+ds035_HC_OPTS = -fglasgow-exts
+ds039_HC_OPTS = -dppr-all
 
 
 include $(TOP)/mk/target.mk
-- 
GitLab