Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
0d90ab1c
Commit
0d90ab1c
authored
Mar 23, 1997
by
sof
Browse files
[project @ 1997-03-23 22:33:34 by sof]
Added .lex -> .c suffix rule
parent
e4f57e45
Changes
1
Show whitespace changes
Inline
Side-by-side
mk/suffix.mk
View file @
0d90ab1c
...
@@ -121,6 +121,9 @@ HASKELL_POST_COMPILE=$(patsubst %,$(HASKELL_SPLIT_POST),$(filter -split-objs,$(H
...
@@ -121,6 +121,9 @@ HASKELL_POST_COMPILE=$(patsubst %,$(HASKELL_SPLIT_POST),$(filter -split-objs,$(H
%.c
:
%.flex
%.c
:
%.flex
@
$(RM)
$@
@
$(RM)
$@
$(FLEX)
-t
$(FLEX_OPTS)
$<
>
$@
||
(
$(RM)
$@
&&
exit
1
)
$(FLEX)
-t
$(FLEX_OPTS)
$<
>
$@
||
(
$(RM)
$@
&&
exit
1
)
%.c
:
%.lex
@
$(RM)
$@
$(FLEX)
-t
$(FLEX_OPTS)
$<
>
$@
||
(
$(RM)
$@
&&
exit
1
)
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Yacc stuff
# Yacc stuff
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment