 
INCLUDES = -I../f123inc

# define salient files for this directory

FILES = sam_prg2	\
	testfld		\
	sam_prg3	\
	samprg2b	\
	samprg3b

# define source code, header, and object file names

SRCS = $(addsuffix .c,  $(FILES) )
OBJS = $(addsuffix .o,  $(FILES) )


# include common variables and production rules

include ../common.mk

#
# local production rules
#

# implicit rule for building test binaries

%.o : %.c
	$(CC) -c $(CFLAGS) $(INCLUDES) $< -o $@

# general static pattern rule to build one or more test files

$(FILES) : % : %.o
	$(CC) $(INCLUDES) $< ../$(FIPSLIB) $(LIBS) -o $@


.PHONY: all
all	: $(FILES)

clean:
	rm -f *.o
	rm -f $(FILES)
