TARGET = StudentSystemC++
BIN=../bin
LIB=../lib
INC=../inc
CC = g++
#CC = arm-linux-gcc
CFLAGS= -g -Wall
LDFLAGS=
INCLUDES=-I$(INC)
OBJS=./base/base.o ./base/base_vector.o ./operator/operator.o ./UI/UI.o \
./student/student.o ./student/student_vector.o ./student/student_menu.o \
./teacher/teacher.o ./teacher/teacher_vector.o ./teacher/teacher_menu.o \
./admin/admin.o ./admin/admin_vector.o ./admin/admin_menu.o \
main.o
all:$(TARGET)
%.o:%.cpp
$(CC) -c $(INCLUDES) $(CFLAGS) $< -o $@
$(TARGET):$(OBJS)
$(CC) -o $@ $^ $(LDFLAGS)
clean:
-rm ./$(OBJS) $(TARGET) -f