1 LIBPATH
= -L
/usr
/X11
/lib
2 # LIBPATH += -L./mikmod/lib
3 LIBS
= -lX11
-lXext
-lm
4 # LIBS += -lmikmod -lmmio
5 DEFINES
= -DUSE_X11
-DHAVE_USLEEP
6 # DEFINES += -DHAVE_GETTIMEOFDAYx
7 # DEFINES += -DUSE_MIKMOD
9 # INCLUDES += -I./mikmod/include
11 manic
: manic.o emu_util.o
12 gcc
$(CFLAGS
) $(LDFLAGS
) manic.o emu_util.o
-o manic
$(LIBPATH
) $(LIBS
)
14 manic.o
: mm-demo.c mm-final.c mm-keydf.c mm-pal.c mm-tplat.c manic.c mm-end.c mm-font.c mm-keys2.c mm-piano.c mm-vrobo.c mm-air.c mm-eug2.c mm-ftsml.c mm-kong.c mm-pkeys.c mm-willy.c mm-blocx.c mm-exits.c mm-game.c mm-load.c mm-sky.c mm-win.c mm-conv.c mm-fant.c mm-house.c mm-map2.c mm-sun.c mm-core.c mm-fill.c mm-hrobo.c mm-over.c mm-swit.c emu_util.h
15 gcc
$(CFLAGS
) $(CPPFLAGS
) $(DEFINES
) $(INCLUDES
) -c manic.c
17 emu_util.o
: emu_util.c emu_util.h
18 gcc
$(CFLAGS
) $(CPPFLAGS
) $(DEFINES
) $(INCLUDES
) -c emu_util.c