#
# Makefile for Martin Lipinsky SHELL
#
CC = gcc
LDFLAGS = #-static
CFLAGS = -Wall -pedantic -ansi
PRGS = shell

#
# make binary from sources
#

all: $(PRGS)

$(PRGS): shell.o errors.o
	${CC} -o $@ $^ ${LDFLAGS}     	

#
# clean files
#

clean:
	rm *.o
	rm $(PRGS)

install: 
	cp $(PRGS) /usr/local/bin
	