######################################################################
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
OBJS = $(SRCS:.c=.o)
SYS_LIBRARIES =
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
CFLAGS= $(RPM_OPT_FLAGS) $(SYS_INCLUDES) -Wall -Wstrict-prototypes
CFLAGS= $(SYS_INCLUDES) $(RPM_OPT_FLAGS) -O2 -Wall -Wstrict-prototypes
install:
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