diff options
author | Robert de Bath <rdebath@poboxes.com> | 1996-11-03 22:33:35 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:33:35 +0200 |
commit | c218c617b5be443b7968308506969ad2b726d73c (patch) | |
tree | 0051f396af56133d24fcf2ab757fabc78c1a09bf /elksemu/Makefile | |
parent | 0936b9aeab611665645a4e6bafaded7ca76dd189 (diff) | |
parent | 0d2fbe9b1bd284ce2cad55be17e8f2c896031a25 (diff) | |
download | dev86-c218c617b5be443b7968308506969ad2b726d73c.tar.gz |
Import Dev86src-0.0.8.tar.gzv0.0.8
Diffstat (limited to 'elksemu/Makefile')
-rw-r--r-- | elksemu/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/elksemu/Makefile b/elksemu/Makefile index 2044160..e25f60f 100644 --- a/elksemu/Makefile +++ b/elksemu/Makefile @@ -2,10 +2,16 @@ # Makefile for elksemu. # -CFLAGS=-O2 -fno-strength-reduce -Wall -idirafter . $(DEFS) -# If you need an a.out exe. NB The program _does_ now work as ELF +# For gcc with the default compiler +# CFLAGS=-O2 -fno-strength-reduce -Wall -idirafter . $(DEFS) + +# For gcc making a.out with a basically ELF compiler # CFLAGS=-O2 -fno-strength-reduce -b i486-linuxaout -N -s -static +# Use BCC to make a tiny static a.out version. +CFLAGS=-O -3 -N -ansi +CC=bcc + OBJ=elks.o elks_sys.o elks_signal.o elksemu: $(OBJ) @@ -22,8 +28,8 @@ dummy: # The kernel patch or module _requires_ this location. install: elksemu - install -s -o root -g root -m 4111 elksemu /lib/elksemu - tar cvf V-files.tar call_tab.v defn_tab.v + install -d $(DIST)/lib + install -s -o root -g root -m 4555 elksemu $(DIST)/lib/elksemu clean: rm -f $(OBJ) elksemu call_tab.v defn_tab.v |