Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lyskom-server-ceder-1616-generations-topgit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
aeb3b7e5
Commit
aeb3b7e5
authored
33 years ago
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
Nya, b{ttre Makefiler, som passar CVS.
parent
2ab3efff
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+7
-39
7 additions, 39 deletions
Makefile
src/Makefile
+9
-5
9 additions, 5 deletions
src/Makefile
with
16 additions
and
44 deletions
Makefile
+
7
−
39
View file @
aeb3b7e5
# Makefile for LysKOM
#
###############################################################################
#
# SPECIAL CONSIDERATIONS:
#
# - Requires GNU make.
# - CC, OPTIMIZE-FLAGS and other make variables are passed down
# in the environment.
# - C compiler must be ANSI conformant.
#
###############################################################################
#
# SPECIAL TARGETS:
###############################################################################
# Directories that you might want to override via the environment.
ifndef
TOPDIR
TOPDIR
:=
$(
shell
pwd
)
endif
ifndef
SCRIPTDIR
TOPDIR
=
/usr/lyskom/src
SCRIPTDIR
=
$(
TOPDIR
)
/scripts
endif
include
$(SCRIPTDIR)/import.make
# All directories that make should traverse to when doing clean etc.
SUBDIRS
=
doc include junk lib scripts src
all
:
for
i
in
$(
SUBDIRS
)
;
\
do
\
echo
making all
in
directory
$$
i
;
\
(
cd
$$
i
;
$(
MAKE
)
all
)
\
(
cd
$$
i
;
$(
MAKE
)
$(
EXPORTS
)
all
)
\
done
...
...
@@ -43,16 +17,16 @@ install:
for
i
in
$(
SUBDIRS
)
;
\
do
\
echo
making
install
in
directory
$$
i
;
\
(
cd
$$
i
;
$(
MAKE
)
install
)
\
(
cd
$$
i
;
$(
MAKE
)
$(
EXPORTS
)
install
)
\
done
depend
:
(
cd
src/include
;
make
install
)
(
cd
src/libraries
;
make install-headers
)
(
cd
src/include
;
make
$(
EXPORTS
)
install
)
(
cd
src/libraries
;
make
$(
EXPORTS
)
install-headers
)
for
i
in
$(
SUBDIRS
)
;
\
do
\
echo
making depend
in
directory
$$
i
;
\
(
cd
$$
i
;
$(
MAKE
)
depend
)
;
\
(
cd
$$
i
;
$(
MAKE
)
$(
EXPORTS
)
depend
)
;
\
done
...
...
@@ -61,11 +35,5 @@ clean:
for
i
in
$(
SUBDIRS
);
\
do
\
echo
making clean
in
directory
$$
i
;
\
(
cd
$$
i
;
$(
MAKE
)
clean
)
\
(
cd
$$
i
;
$(
MAKE
)
$(
EXPORTS
)
clean
)
\
done
war
:
@
echo
"Thou shalt not make war. Makest love instead!"
love
:
@
clear
;
cat
/usr/local/lib/makelove
This diff is collapsed.
Click to expand it.
src/Makefile
+
9
−
5
View file @
aeb3b7e5
TOPDIR
=
/usr/lyskom/src
SCRIPTDIR
=
$(
TOPDIR
)
/scripts
include
$(SCRIPTDIR)/import.make
# All directories that make should traverse to when doing clean etc.
# Note htat libraries MUST be made before the rest. Otherwise you will
# be linking with old versions...
...
...
@@ -8,7 +13,7 @@ all:
for
i
in
$(
SUBDIRS
)
;
\
do
\
echo
making all
in
directory
$$
i
;
\
(
cd
$$
i
;
$(
MAKE
)
all
)
\
(
cd
$$
i
;
$(
MAKE
)
$(
EXPORTS
)
all
)
\
done
...
...
@@ -16,7 +21,7 @@ install:
for
i
in
$(
SUBDIRS
)
;
\
do
\
echo
making
install
in
directory
$$
i
;
\
(
cd
$$
i
;
$(
MAKE
)
install
)
\
(
cd
$$
i
;
$(
MAKE
)
$(
EXPORTS
)
install
)
\
done
...
...
@@ -24,7 +29,7 @@ depend:
for
i
in
$(
SUBDIRS
)
;
\
do
\
echo
making depend
in
directory
$$
i
;
\
(
cd
$$
i
;
$(
MAKE
)
depend
)
\
(
cd
$$
i
;
$(
MAKE
)
$(
EXPORTS
)
depend
)
\
done
...
...
@@ -33,6 +38,5 @@ clean:
for
i
in
$(
SUBDIRS
);
\
do
\
echo
making clean
in
directory
$$
i
;
\
(
cd
$$
i
;
$(
MAKE
)
clean
)
\
(
cd
$$
i
;
$(
MAKE
)
$(
EXPORTS
)
clean
)
\
done
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment