diff options
author | Robert de Bath <rdebath@poboxes.com> | 1996-03-24 17:45:55 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:29:43 +0200 |
commit | fe22c37817ce338fbbc90b239320248c270957fa (patch) | |
tree | d9550410c4a20bdd382fcc58d2d3d7c5e04e5245 /elksemu/Makefile | |
parent | a7aba15e8efffb1c5d3097656f1a93955a64f01f (diff) | |
parent | 42192453ea219b80d0bf9f41e51e36d3d4d0740b (diff) | |
download | dev86-fe22c37817ce338fbbc90b239320248c270957fa.tar.gz |
Import Dev86-0.0.4.tar.gzv0.0.4
Diffstat (limited to 'elksemu/Makefile')
-rw-r--r-- | elksemu/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/elksemu/Makefile b/elksemu/Makefile new file mode 100644 index 0000000..cee13ac --- /dev/null +++ b/elksemu/Makefile @@ -0,0 +1,29 @@ +# +# Makefile for elksemu. +# + +CFLAGS=-O2 -fno-strength-reduce -Wall +# 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 + +OBJ=elks.o elks_sys.o elks_signal.o + +elksemu: $(OBJ) + $(CC) $(CFLAGS) -o elksemu $(OBJ) + +$(OBJ): elks.h +elks_sys.o: call_tab.v + +call_tab.v: dummy + -cp -p ../libc/syscall/call_tab.v . 2>/dev/null + -cp -p ../libc/syscall/defn_tab.v . 2>/dev/null + +dummy: + +# The kernel patch _requires_ this location. +install: elksemu + install -s -m 755 elksemu /lib/elksemu + tar cvf V-files.tar call_tab.v defn_tab.v + +clean: + rm -f $(OBJ) elksemu call_tab.v defn_tab.v |