

TARGET = enemylines2

CXX= g++


CXXFLAGS = -O2 -Wall `sdl-config --cflags`

LDFLAGS = `sdl-config --libs` -lGL -lGLU


all: $(TARGET)

OFILES = main.o entity.o level.o random.o formation.o shot.o floor.o glutsolidsphere.o model.o

$(TARGET): $(OFILES)
	$(CXX) -o $(TARGET) $(OFILES) $(LDFLAGS)


clean:
	rm *.o $(TARGET)
