3 CFLAGS
=-g
-Wall
`sdl2-config --cflags` -DHAVE_SDLMIXER
4 LFLAGS
=`sdl2-config --libs` -lpng
-lSDL2_mixer
9 $(RUNE_PATH
)/libs
/savepng
/savepng.c \
10 $(RUNE_PATH
)/libs
/binaryheap
/binhl.c \
11 $(RUNE_PATH
)/libs
/libcsslike
/hash
/hash.c \
12 $(RUNE_PATH
)/libs
/libcsslike
/hash
/stash.c \
13 $(RUNE_PATH
)/libs
/libcsslike
/cssdom.c \
14 $(RUNE_PATH
)/libs
/lazyass
/lazyass.c \
15 $(RUNE_PATH
)/sdl2-x.c
$(RUNE_PATH
)/font2.c
$(RUNE_PATH
)/SDL2_particles.c \
16 $(RUNE_PATH
)/mainmenu.c \
18 $(RUNE_PATH
)/utils.c \
23 $(RUNE_PATH
)/runeconf.c \
24 $(RUNE_PATH
)/rune2.c \
29 OBJECTS
=$(SOURCES
:.c
=.o
)
31 all: $(SOURCES
) $(EXECUTABLE
)
34 git submodule update
--init
--recursive
35 git submodule
foreach git checkout master
36 git submodule
foreach git pull
39 make
-C src
/libs
/SDL_inprint font2.c
40 cp src
/libs
/SDL_inprint
/font2.c src
/.
42 $(EXECUTABLE
): $(OBJECTS
)
43 $(CC
) $(CFLAGS
) $(LFLAGS
) $(OBJECTS
) -o
$@
46 $(CC
) -c
$(CFLAGS
) $< -o
$@
49 rm -rf src
/*.o
*.a
$(EXECUTABLE
)
53 src
/libs
/lazyass
/*.o \
54 src
/libs
/binaryheap
/*.o \
55 src
/libs
/libcsslike
/*.o \
56 src
/libs
/SDL_inprint
/*.o \
57 src
/libs
/SDL_inprint
/font2.c \