

TARGET = enemylines

CXX= g++


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

#LDFLAGS = `sdl-config --libs` -lSDL_ttf -lSDL_image
LDFLAGS = `sdl-config --libs` -lSDL_image


all: $(TARGET)

OFILES = entity.o formation.o level.o main.o movement.o player.o random.o res.o

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


clean:
	rm *.o enemylines
