View | Details | Raw Unified
Collapse All | Expand All

(-) tekram/Makefile.orig (-6 / +6 lines)
 Lines 31-37    Link Here 
######################################################################
######################################################################
CC      = gcc
CC      = gcc
CFLAGS= $(RPM_OPT_FLAGS) $(SYS_INCLUDES) -O2 -Wall -Wstrict-prototypes
CFLAGS= $(SYS_INCLUDES) -Wall -Wstrict-prototypes $(GCFLAGS)
SRCS = findchip.c smc.c nsc.c winbond.c
SRCS = findchip.c smc.c nsc.c winbond.c
OBJS = $(SRCS:.c=.o)
OBJS = $(SRCS:.c=.o)
 Lines 41-47    Link Here 
SYS_LIBRARIES = 
SYS_LIBRARIES = 
SYS_LIBPATH = -L/usr/lib -L/usr/local/lib 
SYS_LIBPATH = -L/usr/lib -L/usr/local/lib 
CFLAGS= -O2 -W -Wall -Wstrict-prototypes -Wshadow $(SYS_INCLUDES)
CFLAGS= -W -Wall -Wstrict-prototypes -Wshadow $(SYS_INCLUDES) $(GCFLAGS)
# 
# 
# Files to make 
# Files to make 
 Lines 41-47    Link Here 
SYS_LIBRARIES = 
SYS_LIBRARIES = 
SYS_LIBPATH = -L/usr/lib -L/usr/local/lib 
SYS_LIBPATH = -L/usr/lib -L/usr/local/lib 
CFLAGS= $(RPM_OPT_FLAGS) $(SYS_INCLUDES) -Wall -Wstrict-prototypes
CFLAGS= $(SYS_INCLUDES) -Wall -Wstrict-prototypes $(GCFLAGS)
# 
# 
# Files to make 
# Files to make 
 Lines 41-47    Link Here 
SYS_LIBRARIES = 
SYS_LIBRARIES = 
SYS_LIBPATH = -L/usr/lib -L/usr/local/lib 
SYS_LIBPATH = -L/usr/lib -L/usr/local/lib 
CFLAGS= $(SYS_INCLUDES) $(RPM_OPT_FLAGS) -O2 -Wall -Wstrict-prototypes
CFLAGS= $(SYS_INCLUDES) -Wall -Wstrict-prototypes $(GCFLAGS)
# 
# 
# Files to make 
# Files to make 
 Lines 9-14    Link Here 
install:
install:
	install irpsion5 $(ROOT)/usr/bin
	install irpsion5 $(ROOT)/usr/bin
CFLAGS += -g -I../include -Wall -Wstrict-prototypes $(RPM_OPT_FLAGS)
CFLAGS += -g -I../include -Wall -Wstrict-prototypes $(GCFLAGS)
irpsion5: irpsion5.c
irpsion5: irpsion5.c
 Lines 41-47    Link Here 
SYS_LIBRARIES = 
SYS_LIBRARIES = 
SYS_LIBPATH = -L/usr/lib -L/usr/local/lib 
SYS_LIBPATH = -L/usr/lib -L/usr/local/lib 
CFLAGS= $(RPM_OPT_FLAGS) $(SYS_INCLUDES) -Wall -Wstrict-prototypes
CFLAGS= $(SYS_INCLUDES) -Wall -Wstrict-prototypes $(GCFLAGS)
# 
# 
# Files to make 
# Files to make