Mercurial > emacs
comparison nt/gmake.defs @ 36859:d4c0b7a5bc48
(DEBUG_LINK): New macro.
(LINK_FLAGS): Use it.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Sun, 18 Mar 2001 16:55:28 +0000 |
parents | 19b74f67a4ae |
children | fa2805c46667 |
comparison
equal
deleted
inserted
replaced
36858:f6aff87320dd | 36859:d4c0b7a5bc48 |
---|---|
224 | 224 |
225 endif | 225 endif |
226 | 226 |
227 ifdef NODEBUG | 227 ifdef NODEBUG |
228 DEBUG_FLAG = | 228 DEBUG_FLAG = |
229 DEBUG_LINK = | |
229 else | 230 else |
230 DEBUG_FLAG = -g | 231 DEBUG_FLAG = -g |
232 DEBUG_LINK = -g | |
231 endif | 233 endif |
232 | 234 |
233 ifdef NOCYGWIN | 235 ifdef NOCYGWIN |
234 NOCYGWIN = -mno-cygwin | 236 NOCYGWIN = -mno-cygwin |
235 endif | 237 endif |
246 ARCH_LDFLAGS = $(SYS_LDFLAGS) | 248 ARCH_LDFLAGS = $(SYS_LDFLAGS) |
247 else | 249 else |
248 ERROR Unknown architecture type "$(ARCH)". | 250 ERROR Unknown architecture type "$(ARCH)". |
249 endif | 251 endif |
250 | 252 |
251 LINK_FLAGS = $(ARCH_LDFLAGS) $(NOCYGWIN) $(USER_LDFLAGS) | 253 LINK_FLAGS = $(ARCH_LDFLAGS) $(DEBUG_LINK) $(NOCYGWIN) $(USER_LDFLAGS) |
252 | 254 |
253 .DEFAULT: | 255 .DEFAULT: |
254 | 256 |
255 $(BLD)/%.o: %.c | 257 $(BLD)/%.o: %.c |
256 $(CC) $(CFLAGS) $(CC_OUT)$@ $< | 258 $(CC) $(CFLAGS) $(CC_OUT)$@ $< |