-
Notifications
You must be signed in to change notification settings - Fork 50
/
Makefile
53 lines (46 loc) · 1.34 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Compiler Toolkit: makefile for the error management
#
# Author : Manuel M. T. Chakravarty
# Created: 24 October 1997
#
# Version $Revision: 1.8 $ from $Date: 2002/05/19 09:10:15 $
#
# Copyright (C) [1997..1998] Manuel M. T. Chakravarty
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This file is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# = DOCU =====================================================================
#
# ***************************************
# !!! This makefile requires GNU make !!!
# ***************************************
# info for this part: its package, name, sources and objects files (must be
# before the include due to conditionals etc in `common.mk')
#
PACKAGE = base
PCKNAME = ctk
PART = errors
SRCS = Errors.hs
OBJS = $(patsubst %.hs,%.o,$(SRCS))
include ../../mk/common.mk
# make all object files
#
objs: $(OBJS)
# make all
#
all: objs
# misc targets
#
.PHONY: clean cleanhi
clean:
-$(RM) *.o
cleanhi:
-$(RM) *.hi