summaryrefslogtreecommitdiff
path: root/elksemu/Makefile
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>2001-03-20 18:55:18 +0100
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:47:06 +0200
commit6d269edda0f49741484c1da6c71d24c031abc9ce (patch)
tree9ab1d8a21978e97ba9325f393c945cf9522b2987 /elksemu/Makefile
parent4b55feb026b1f64555d7c11c2840fddd8fd029fe (diff)
downloaddev86-6d269edda0f49741484c1da6c71d24c031abc9ce.tar.gz
Import Dev86src-0.15.5.tar.gzv0.15.5
Diffstat (limited to 'elksemu/Makefile')
-rw-r--r--elksemu/Makefile12
1 files changed, 4 insertions, 8 deletions
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