blob: 884b49f46b9dc1f566b83e26c7e679a086440308 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Respect CC, append to CFLAGS (but not -g), append to LDFLAGS, use system LD -jer
--- Makefile.orig 1999-07-15 19:40:12.000000000 +0200
+++ Makefile 2009-09-04 15:27:15.000000000 +0200
@@ -8,14 +8,13 @@
HDRS = defs.h mstring.h
-CFLAGS = -g -Wall -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS += -Wall -Wstrict-prototypes -Wmissing-prototypes
-LDFLAGS = -static
+LDFLAGS += -static
LIBS =
-CC = gcc
-LINKER = gcc
+LINKER = $(CC)
# LINKER = cl
# CC = cl
|