fixed bug with not updating game panel when leaving invisible warp mode
[rocksndiamonds.git] / src / game_em / Makefile
1 # =============================================================================
2 # Rocks'n'Diamonds - McDuffin Strikes Back!
3 # -----------------------------------------------------------------------------
4 # (c) 1995-2014 by Artsoft Entertainment
5 #                  Holger Schemel
6 #                  info@artsoft.org
7 #                  https://www.artsoft.org/
8 # -----------------------------------------------------------------------------
9 # The native Emerald Mine game engine is based on:
10 # Emerald Mine for X11 (c) 2000,2001 David Tritscher
11 # -----------------------------------------------------------------------------
12 # src/game_em/Makefile
13 # =============================================================================
14
15 # -----------------------------------------------------------------------------
16 # configuration
17 # -----------------------------------------------------------------------------
18
19 SRCS =  cave.c          \
20         convert.c       \
21         graphics.c      \
22         init.c          \
23         game.c          \
24         logic.c         \
25         reademc.c
26
27 OBJS =  cave.o          \
28         convert.o       \
29         graphics.o      \
30         init.o          \
31         game.o          \
32         logic.o         \
33         reademc.o
34
35 GAME_EM = game_em.a
36
37
38 # -----------------------------------------------------------------------------
39 # build targets
40 # -----------------------------------------------------------------------------
41
42 all: $(GAME_EM)
43
44 $(GAME_EM): $(OBJS)
45         $(AR) cr $(GAME_EM) $(OBJS)
46         $(RANLIB) $(GAME_EM)
47
48 .c.o:
49         $(CC) $(PROFILING) $(CFLAGS) -c $*.c
50
51 clean:
52         $(RM) $(OBJS)
53         $(RM) $(GAME_EM)
54
55
56 # -----------------------------------------------------------------------------
57 # development only
58 # -----------------------------------------------------------------------------
59
60 depend:
61         for i in $(SRCS); do $(CPP) $(CFLAGS) -M $$i; done > .depend
62
63 ifeq (.depend,$(wildcard .depend))
64 include .depend
65 endif