# **************** GYTE 1.0 ************************ 
# Authors : Swaroop CH and Yashwanth CP
# V Sem CS PESIT ,VTU System Software Project
# Distributed under General Public License
# to install : 
#              $  make
#              $  make install
# after installation type 'gyte' to run the program
#
# Makefile for GYTE

NO_WINDOW = 4
# The number of windows that GYTE can open at the same time.

CC = g++
CXXFLAGS = -Wall -ggdb3 -O0 
COMPILE = $(CC) $(CXXFLAGS) -c -DNO_WINDOW=$(NO_WINDOW)
LDFLAGS = -lform -lmenu -lpanel -lncurses

gyte : main.cpp front.o back.o Makefile
	$(CC) -Wall main.cpp -o gyte front.o back.o $(LDFLAGS)

front.o : front.h front.cpp Makefile
	$(COMPILE) front.cpp -o front.o 

back.o : back.h back.cpp Makefile
	$(COMPILE) back.cpp -o back.o 

.PHONY 	:	clean
.PHONY 	:	install

clean	:
	-rm -vf *.o *.out *~ gyte NoName* core* *gytescreen* ;
	-rm -vf /usr/bin/gyte;

install	:
	-cp -vf gyte /usr/bin/gyte;


