# 
# $Id: Makefile,v 1.3 2006/05/16 09:33:15 yamamoto Exp yamamoto $
# 

TARGET = exsh-1

SRCS = $(TARGET).c
OBJS = $(TARGET).o

all:: $(TARGET)

$(TARGET):: $(OBJS)

test:: all
	./$(TARGET)

clean::
	rm -f $(TARGET) $(OBJS) a.out *~

########################################################################

test-null:: all
	./$(TARGET) -d < /dev/null

test-pipe:: all
	echo ls | ./$(TARGET) -d
