diff options
author | Robert de Bath <rdebath@poboxes.com> | 1996-09-03 22:06:58 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:31:01 +0200 |
commit | 0936b9aeab611665645a4e6bafaded7ca76dd189 (patch) | |
tree | fe6384035e96adc260f621d27909be67ad2e724a /elksemu/Makefile | |
parent | e85ee07172eccafd9441362e774f7b184810d008 (diff) | |
download | dev86-0936b9aeab611665645a4e6bafaded7ca76dd189.tar.gz |
Import Dev86-0.0.7.tar.gzv0.0.7
Diffstat (limited to 'elksemu/Makefile')
-rw-r--r-- | elksemu/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/elksemu/Makefile b/elksemu/Makefile index 92aa516..2044160 100644 --- a/elksemu/Makefile +++ b/elksemu/Makefile @@ -2,7 +2,7 @@ # Makefile for elksemu. # -CFLAGS=-O2 -fno-strength-reduce -Wall +CFLAGS=-O2 -fno-strength-reduce -Wall -idirafter . $(DEFS) # If you need an a.out exe. NB The program _does_ now work as ELF # CFLAGS=-O2 -fno-strength-reduce -b i486-linuxaout -N -s -static @@ -32,12 +32,16 @@ module: binfmt_elks.o # HOW to compile the module... -# This matches my compile; yours may be different. +# This matches my compile (2.0.0); yours may be different. +MODCFLAGS=-D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer \ + -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS \ + -include /usr/include/linux/modversions.h + binfmt_elks.o: binfmt_elks.c - gcc -O -c -fomit-frame-pointer -DCPU=386 -D__KERNEL__ -DMODULE -DMODVERSIONS -include /usr/include/linux/modversions.h binfmt_elks.c + gcc -c $(MODCFLAGS) binfmt_elks.c # This is another option -# gcc -O -c -fomit-frame-pointer -DCPU=386 -D__KERNEL__ -DMODULE binfmt_elks.c +#MODCFLAGS=-O -fomit-frame-pointer -DCPU=386 -D__KERNEL__ -DMODULE # Or this ... -# gcc -O -c -fomit-frame-pointer -D__KERNEL__ -DMODULE -DCONFIG_MODVERSIONS binfmt_elks.c +#MODCFLAGS=-O -fomit-frame-pointer -D__KERNEL__ -DMODULE -DCONFIG_MODVERSIONS |