From: Alan Cox Date: Fri, 25 Mar 2016 17:38:46 +0000 (+0000) Subject: Makefile: add Z80 hton* to mix and an install rule X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=726aaccfe929c84e41e0a0592406c2103e6eda15;p=FUZIX.git Makefile: add Z80 hton* to mix and an install rule --- diff --git a/Library/libs/Makefile b/Library/libs/Makefile index 35aeda0a..3121a42f 100644 --- a/Library/libs/Makefile +++ b/Library/libs/Makefile @@ -19,7 +19,7 @@ SRC_CRT0 = crt0$(PLATFORM).s OBJ_CRT0 = $(SRC_CRT0:.s=.rel) SRC_CRT0NS = crt0nostdio$(PLATFORM).s OBJ_CRT0NS = $(SRC_CRT0NS:.s=.rel) -SRC_ASM = enter.s +SRC_ASM = enter.s htonl-z80.s htons-z80.s OBJ_ASM = $(SRC_ASM:.s=.rel) SRC_C = __argv.c abort.c asctime.c assert.c atexit.c atoi_small.c SRC_C += bcmp.c bcopy.c bsearch.c bzero.c calloc.c cfree.c clock.c closedir.c @@ -128,3 +128,6 @@ clean: rm -rf *.rel *.asm *.sym *.lst *.lib *~ syscall.l libc.l syslib.l liberror.txt (cd curses; rm -rf *.rel *.asm *.sym *.lst *~) (cd fuzix; $(MAKE) clean) + +install: + cp crt0$(PLATFORM).rel crt0nostdio$(PLATFORM).rel c$(PLATFORM).lib /opt/fcc/lib/