20 lines
463 B
Makefile
20 lines
463 B
Makefile
|
# Makefile - hhl - /usr/src/world/libbz2
|
||
|
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
|
||
|
#
|
||
|
libname = bz2
|
||
|
major = 1.0
|
||
|
minor = 8
|
||
|
src = ../libbz2_static/src
|
||
|
cppflags += -DFILE_OFFSET_BITS=64
|
||
|
cflags += -O2
|
||
|
cflags += -g
|
||
|
cflags += -Wall
|
||
|
cflags += -Winline
|
||
|
cflags += --sysroot=$(DESTDIR)
|
||
|
include hhl.sharedlib.mk
|
||
|
|
||
|
install: $(includedir)/bzlib.h
|
||
|
|
||
|
$(includedir)/bzlib.h: bzlib.h | $(includedir)
|
||
|
install -m644 $< $@
|