mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
This commit is based on the s390-tools-1.39.0 version. Changes on top of s390-tools-1.39.0: - Add MIT license to all source files - Add LICENSE file - Transform REAMDE to README.md (markdown) - Add AUTHORS.md file - Add CONTRIBUTING.md file - Move changelog from README to CHANGELOG.md file Reviewed-by: Stefan Haberland <sth@linux.vnet.ibm.com> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
26 lines
483 B
Makefile
26 lines
483 B
Makefile
# Common definitions
|
|
include ../../common.mak
|
|
|
|
libs = $(rootdir)/libccw/libccw.a \
|
|
$(rootdir)/libutil/libutil.a
|
|
|
|
objects = lscss.o misc.o
|
|
|
|
lscss.o: lscss.c
|
|
|
|
all: lscss
|
|
|
|
lscss: $(objects) $(libs)
|
|
|
|
install: all
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 lscss $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(MANDIR)/man8
|
|
$(INSTALL) -m 644 -c lscss.8 $(DESTDIR)$(MANDIR)/man8
|
|
|
|
clean:
|
|
rm -f $(objects) lscss
|
|
|
|
.PHONY: all install clean
|
|
|