# === Makefile ================================================================
#
#    (C) 1995 Chris Provenzano
#
#    Description: This file is for creating pink
#
INSTALL_PATH = $${HOME}
      BINDIR = $(INSTALL_PATH)/bin/@sys
      LIBDIR = $(INSTALL_PATH)/lib/@sys
      MANDIR = $(INSTALL_PATH)/man
      INCDIR = $(INSTALL_PATH)/h

        MAKE = make
          CC = gcc
         CPP = $(CC) -E -I$(INCDIR)
      CFLAGS = -c -O $(CDEBUGFLAGS)
 CDEBUGFLAGS = -g -DDEBUG		# -g, -O, -DDEBUG
          LD = 

        CSRC = pink.c do_inc.c do_filter.c

     HEADERS = 

        OBJS = pink.o do_inc.o do_filter.o

      BINARY = pink

################################################################################
#
# Here starts the nitty grity part of the Makefile.

all: $(LIBRARIES) $(BINARY)

clean: 
	rm -f $(OBJS) a.out core maketmp makeout

depend:
	sed '/\#\#\# Dependencies/q' < Makefile > maketmp
	(for i in $(CSRC);do $(CPP) -M $$i;done) >> maketmp
	cp maketmp Makefile

install: all 

realclean: clean
	rm -f $(LIBRARIES) $(BINARY)

.c.s:
	$(CC) $(CFLAGS) -S $<

.c.o:
	$(CC) $(CFLAGS) -c $<

.s.o:
	$(AS) $<

$(BINARY): $(OBJS)
	$(CC) -o $(BINARY) $(OBJS)

################################################################################
### Do not remove the following line. It is for depend #########################
### Dependencies:
