3 CFLAGS
= $(shell sdl-config
--cflags) -Wall
-g
4 LDFLAGS
= $(shell sdl-config
--libs
) -lSDL_gfx
-lSDL_image
-llua5.1
6 OBJ
= globalfunc.o SDLVideoOut.o Game.o main.o Tileset.o Map.o MapObject.o LivingMapObject.o drawable.o DTile.o DAnimation.o Player.o Robot.o Object.o Inventory.o luafuncs.o
8 #SRC = globalfunc.cpp SDLVideoOut.cpp Game.cpp main.cpp Tileset.cpp Map.cpp MapObject.cpp LivingMapObject.cpp Player.cpp Robot.cpp
15 $(CC
) -g
-o
$(TARGET
) $(OBJ
) $(LDFLAGS
)