§ Makefile
Здесь-I../../include
можно указать свой.1CC=g++ 2SDL=`sdl-config --cflags --libs` 3LIBS=-lSDL -lm 4WARN=-Wall 5INC=-I../../include 6CFLAGS=$(INC) $(SDL) -O3 $(WARN) 7OBJ=main.o 8 9all: $(OBJ) 10 $(CC) $(CFLAGS) $(OBJ) $(LIBS) -o main 11 ./main 12 13%.o: %.cc 14 $(CC) $(CFLAGS) $(LIBS) $< -c -o $@ 15 16clean: 17 rm *.o