# C compiler options CC = @CC@ CFLAGS = @CFLAGS@ LIBS = @LIBS@ # Source files SRCS = showdests.c showjobs.c print.c testppd.c # Object files OBJS = $(SRCS:.c=.o) # Make everything all: showdests showjobs print testppd # Make the showdests application showdests: showdests.o $(CC) $(CFLAGS) -o showdests showdests.o $(LIBS) # Make the showjobs application showjobs: showjobs.o $(CC) $(CFLAGS) -o showjobs showjobs.o $(LIBS) # Make the print application print: print.o $(CC) $(CFLAGS) -o print print.o $(LIBS) # Make the testppd application testppd: testppd.o $(CC) $(CFLAGS) -o testppd testppd.o $(LIBS) # Dependencies $(OBJS): config.h Makefile