Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jberryman
GHC
Commits
6c734cda
Commit
6c734cda
authored
Aug 20, 1998
by
sof
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 1998-08-20 15:42:01 by sof]
Made Makefile evil hack, slightly less so
parent
c7389a19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Makefile
Makefile
+4
-3
No files found.
Makefile
View file @
6c734cda
...
...
@@ -14,11 +14,12 @@ SRC_DIST_DIR=$(shell pwd)/$(SRC_DIST_NAME)
# Totally evil hack to make the setting of SUBDIRS be dependent
# on whether we do `make install' or not. Having a $(ifeq ... ) would
# be preferable..
CURRENT_TARGET
=
$
@
CURRENT_TARGET
=
$
(MAKECMDGOALS)
SUBDIRS
=
$(
shell
if
(
test
x
$(CURRENT_TARGET)
=
xinstall
)
;
then
echo
$(ProjectsToInstall)
;
else
echo
$(ProjectsToBuild)
;
fi
)
PROJECT_CONFIG_MK
=
$(
shell
if
(
test
x
$(CURRENT_TARGET)
=
xbinary-dist
)
;
then
echo
inlude
$(Project)
/mk/config.mk
;
else
echo
''
;
fi
)
$(PROJECT_CONFIG_MK)
ifeq
(x$(CURRENT_TARGET),xbinary-dist)
include
$(shell echo $(Project) | tr A-Z a-z)/mk/config.mk
endif
#
# Files to include in fptools source distribution
...
...
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