# File:		Makefile
# Unit:		8 Easy supplementaries
# Author:	Course (libs111@fas)
# Version:	1

# You do not need to modify this file.

%.out: %

HOME		= /home/l/i/libs111

CCC		= /usr/local/gcc-2.8.1.1/bin/g++

CCFLAGS		= -g -Wall -pedantic
LDFLAGS		= -lm

SOURCES		= sup1.cc sup2.cc teststk.cpp 

BINARIES	= sup1 sup2 teststk 
SUPPORT		= Makefile 
HEADERS		= cstring.hpp stack.hpp s111unx.hpp getinput.hpp list.hpp queue.hpp

PRINTS		= $(SOURCES) $(HEADERS)

default:	$(BINARIES)

teststk:	teststk.cpp getinput.cpp stack.hpp 
	$(CCC) $(CCFLAGS) -o teststk $(LDFLAGS) teststk.cpp getinput.cpp

sprint:	$(PRINTS)
	$(HOME)/bin/sprint $(PRINTS)

clean:
	rm -f $(BINARIES)
