OBJS = main.o yanling.o jobs.o

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

CFLAGS=-DUNIX  -Wall
LDFLAGS= -lreadline -lcurses
DEBUG=-g
#DEBUG=

all: main

main: main.o yanling.o jobs.o cd.o killexit.o history.o util.o command.o

clean:
	rm -f main *.o

build: clean all

include dependencies.mk

dependencies.mk:
	        gcc -MM $(SRCS) > $@

