blob: 4966355864d9d881e19d045150e9c89a9ad1dc78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ab,v 1.1.1.1 2003/05/05 10:57:05 mjl Exp $
--- elfsh/Makefile.orig Mon May 5 12:27:16 2003
+++ elfsh/Makefile Mon May 5 12:27:43 2003
@@ -9,12 +9,12 @@
notes.c opt.c pht.c rel.c sht.c stab.c sym.c usage.c \
data.c ctors.c dtors.c hexa.c
OBJ = $(SRC:.c=.o)
-CC = gcc
-NAME = elfsh
-LDFLAGS = -L../libelfsh/ -lelfsh
-CFLAGS = -Wall -Iinclude -I../libelfsh/include -g3 -O2
-RM = rm -f
+# CC = gcc
NAME = elfsh
+LDFLAGS += -L../libelfsh/ -lelfsh
+CFLAGS += -Wall -Iinclude -I../libelfsh/include -g3 -O2
+# RM = rm -f
+# NAME = elfsh
all : $(OBJ)
$(CC) $(LDFLAGS) $(OBJ) -o $(NAME)
|