2 include $(TOP)/config/make.cfg
4 LIBS := -L$(AROS_LIB) -lamiga -larossupport -lautoinit -lstdc
6 INSTDIR := $(AROS_CONTRIB)/Games/Moria3D
7 EXE := $(INSTDIR)/Moria3D
9 OBJS := $(GENDIR)/$(CURDIR)/Moveing.o \
10 $(GENDIR)/$(CURDIR)/Moria3D.o \
11 $(GENDIR)/$(CURDIR)/Clean.o \
12 $(GENDIR)/$(CURDIR)/Gfx.o \
13 $(GENDIR)/$(CURDIR)/Level.o \
14 $(GENDIR)/$(CURDIR)/Init.o \
15 $(GENDIR)/$(CURDIR)/MyMath.o \
16 $(GENDIR)/$(CURDIR)/Version.o \
17 $(GENDIR)/$(CURDIR)/Timer.o
21 #MM- contrib-games : Moria3D
22 #MM Moria3D : Moria3D-setup
27 $(CC) $(CFLAGS) -o $(EXE) $(OBJS) $(ARCHIVE) $(LIBS)
31 %mkdirs_q $(GENDIR)/$(CURDIR)
37 $(GENDIR)/$(CURDIR)/Moveing.o : Moveing.c MyTypes.h Moveing.h \
38 Level.h MyMath.h Clean.h \
40 $(CC) $(CFLAGS) $(INCL) -c $(SRCDIR)/$(CURDIR)/Moveing.c -o $@
42 $(GENDIR)/$(CURDIR)/Moria3D.o : Moria3D.c MyTypes.h Level.h \
43 MyMath.h Clean.h Init.h \
45 $(CC) $(CFLAGS) $(INCL) -c $(SRCDIR)/$(CURDIR)/Moria3D.c -o $@
47 $(GENDIR)/$(CURDIR)/Clean.o : Clean.c MyTypes.h Clean.h
48 $(CC) $(CFLAGS) $(INCL) -c $(SRCDIR)/$(CURDIR)/Clean.c -o $@
50 $(GENDIR)/$(CURDIR)/Gfx.o : Gfx.c MyTypes.h Level.h \
51 MyMath.h Clean.h Init.h \
52 Moveing.h Gfx.h Timer.h
53 $(CC) $(CFLAGS) $(INCL) -c $(SRCDIR)/$(CURDIR)/Gfx.c -o $@
55 $(GENDIR)/$(CURDIR)/Level.o : Level.c Clean.h MyTypes.h \
57 $(CC) $(CFLAGS) $(INCL) -c $(SRCDIR)/$(CURDIR)/Level.c -o $@
59 $(GENDIR)/$(CURDIR)/Init.o : Init.c MyTypes.h Init.h \
60 MyMath.h Level.h Clean.h \
62 $(CC) $(CFLAGS) $(INCL) -c $(SRCDIR)/$(CURDIR)/Init.c -o $@
64 $(GENDIR)/$(CURDIR)/MyMath.o : MyMath.c MyMath.h MyTypes.h \
66 $(CC) $(CFLAGS) $(INCL) -c $(SRCDIR)/$(CURDIR)/MyMath.c -o $@
68 $(GENDIR)/$(CURDIR)/Version.o : Version.c
69 $(CC) $(CFLAGS) $(INCL) -c $(SRCDIR)/$(CURDIR)/Version.c -o $@
71 $(GENDIR)/$(CURDIR)/Timer.o : Timer.c Timer.h
72 $(CC) $(CFLAGS) $(INCL) -c $(SRCDIR)/$(CURDIR)/Timer.c -o $@
74 $(GENDIR)/$(CURDIR)/math.o : math.c
75 $(CC) $(CFLAGS) $(INCL) -c $(SRCDIR)/$(CURDIR)/math.c -o $@