From 6d269edda0f49741484c1da6c71d24c031abc9ce Mon Sep 17 00:00:00 2001 From: Robert de Bath Date: Tue, 20 Mar 2001 18:55:18 +0100 Subject: Import Dev86src-0.15.5.tar.gz --- elksemu/Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'elksemu/Makefile') diff --git a/elksemu/Makefile b/elksemu/Makefile index 4b3e056..f613fde 100644 --- a/elksemu/Makefile +++ b/elksemu/Makefile @@ -10,11 +10,6 @@ ifeq ($(CC),ncc) CFLAGS=-Ml -ansi -s $(DEFS) endif -# For gcc -ifeq ($(CC),gcc) -CFLAGS=-O2 -fno-strength-reduce -Wall -idirafter . $(DEFS) -endif - # Default ifeq ($(CFLAGS),) CFLAGS=-O @@ -29,7 +24,7 @@ endif OBJ=elks.o elks_sys.o elks_signal.o minix.o elksemu: $(OBJ) - $(CC) $(CFLAGS) -o elksemu $(OBJ) + $(CC) $(CFLAGS) -o $@ $^ elks_sys.o: call_tab.v $(OBJ): elks.h @@ -40,13 +35,14 @@ call_tab.v: dummy dummy: -# The kernel patch or module _requires_ this location. +# The kernel patch or module _requires_ this location but binfmt-misc is easy +# to redirect. install: elksemu install -d $(DIST)/lib install -s -o root -g root -m 4555 elksemu $(DIST)/lib/elksemu clean realclean: - rm -f $(OBJ) elksemu call_tab.v defn_tab.v + rm -f $(OBJ) binfmt_elks.o elksemu call_tab.v defn_tab.v module: binfmt_elks.o -- cgit v1.2.1