home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CBM Funet Archive
/
cbm-funet-archive-2003.iso
/
cbm
/
programming
/
msdos
/
xa214f.lzh
/
xa214f
/
Makefile
< prev
next >
Wrap
Makefile
|
1998-03-03
|
802b
|
45 lines
# uNIX GCC OR dos GO32 CROSS-COMPILING GCC
#
cc=GCC
ld=GCC
cflags=-w -wALL -PEDANTIC -ANSI
# cc=GCC-GO32
# ld=GCC-GO32
# cflags=-w -wALL -PEDANTIC
# oTHER CC
#cc=CC
#cflags=
#ld=LD
installdir=/USR/LOCAL
ALL: XA UNCPK
XA:
(CD SRC; ld=${$7b}ld{$7d} cc="${$7b}cc{$7d} ${$7b}cflags{$7d}" ${$7b}make{$7d}; )
LOAD:
(CD LOADER; cc="${$7b}cc{$7d} ${$7b}cflags{$7d}" ${$7b}make{$7d}; )
UNCPK:
(CD MISC; cc="${$7b}cc{$7d} ${$7b}cflags{$7d}" ${$7b}make{$7d}; )
DOS: CLEAN
(CD SRC; ld=GCC-GO32 cc="GCC-GO32 -w -wALL -PEDANTIC" ${$7b}make{$7d}; )
(CD MISC; cc="GCC-GO32 -w -wALL -PEDANTIC" ${$7b}make{$7d}; )
RM -F XA FILE65 LD65 UNCPK PRINTCBM RELOC65 MKROM.SH SRC/*.O
CLEAN:
(CD SRC; ${$7b}make{$7d} CLEAN )
(CD LOADER; ${$7b}make{$7d} CLEAN )
(CD MISC; ${$7b}make{$7d} MRPROPER )
RM -F XA *.EXE
INSTALL: XA UNCPK
FOR I IN XA RELOC65 LD65 FILE65 PRINTCBM UNCPK; \
DO CP $$I ${$7b}installdir{$7d}/BIN; \
DONE