$OpenBSD: patch-sim_Makefile,v 1.2 2001/03/17 12:28:55 wilfried Exp $ --- sim/Makefile.orig Fri Nov 14 16:45:53 1997 +++ sim/Makefile Wed Mar 14 23:21:51 2001 @@ -62,8 +62,8 @@ MOD = mod # #>>>> Define the COMPILER name and LINKER name here only. -CC = gcc -LINK = gcc +#CC = gcc +LINK = $(CC) #>>>> Define PATHS # The include path should be a directory containing header @@ -107,13 +107,13 @@ L_OPTIM_FLAG = # #>>>> Include any special warning flags # -WARNINGS = -Wall -ansi +WARNINGS = -ansi #-------------------- #**** You shouldn't need to change the next 2 lines. They are dependent #**** only on the above setup. -CFLAGS = $(C_OPTIM_FLAG) $(C_DEBUG_FLAG) $(DEBUG_SYMBOLS) \ +CFLAGS += $(C_DEBUG_FLAG) $(DEBUG_SYMBOLS) \ -I $(INCPATH) $(WARNINGS) CLFLAGS = $(L_OPTIM_FLAG) $(L_DEBUG_FLAG)