Compare commits
No commits in common. "master" and "release1" have entirely different histories.
26
Makefile.os4
26
Makefile.os4
|
@ -1,8 +1,10 @@
|
|||
# Set the lic to be used with the LIBC argument
|
||||
# possible values newlib, clib2, clib4
|
||||
# make -f Makefile.os4 LIBC=clib4
|
||||
#
|
||||
LIBC?=newlib
|
||||
|
||||
USE_CLIB2=YES
|
||||
ifeq ($(USE_CLIB2), YES)
|
||||
LIBC=clib2
|
||||
else
|
||||
LIBC=newlib
|
||||
endif
|
||||
|
||||
all: build
|
||||
|
||||
|
@ -21,19 +23,11 @@ clean:
|
|||
release:
|
||||
mkdir -p release/local/common/include/hyphen
|
||||
mkdir -p release/local/clib2/lib
|
||||
mkdir -p release/local/clib4/lib
|
||||
mkdir -p release/local/newlib/lib
|
||||
# build the clib2 version
|
||||
make -f Makefile.os4 LIBC=clib2
|
||||
make -f Makefile.os4 USE_CLIB2=YES
|
||||
cp ./.libs/libhyphen.a ./.libs/libhyphen.la release/local/clib2/lib/
|
||||
cp ./*.h release/local/common/include/hyphen/
|
||||
# build the newlib version
|
||||
make -f Makefile.os4 clean
|
||||
make -f Makefile.os4 LIBC=newlib
|
||||
make -f Makefile.os4 USE_CLIB2=NO
|
||||
cp ./.libs/libhyphen.a ./.libs/libhyphen.la release/local/newlib/lib/
|
||||
# build the clib4 version
|
||||
make -f Makefile.os4 clean
|
||||
make -f Makefile.os4 LIBC=clib4
|
||||
cp ./.libs/libhyphen.a ./.libs/libhyphen.la release/local/clib4/lib/
|
||||
# create the release archive
|
||||
lha aq libhyphen.lha release/
|
||||
lha -aeq libhyphen.lha release/
|
||||
|
|
Loading…
Reference in New Issue