annotate playercode/Makefile @ 11:d5cb2cfc8eca

Initial revision
author darius
date Fri, 23 Jan 1998 16:05:11 +0000
parents 990c9dadb348
children d9f79436e0af
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
990c9dadb348 Initial revision
darius
parents:
diff changeset
1 # MikMod Library Makefile for DJGPP Linux
990c9dadb348 Initial revision
darius
parents:
diff changeset
2 # Divine Entertainment Game Programming Pack
990c9dadb348 Initial revision
darius
parents:
diff changeset
3
990c9dadb348 Initial revision
darius
parents:
diff changeset
4
990c9dadb348 Initial revision
darius
parents:
diff changeset
5 ####################
990c9dadb348 Initial revision
darius
parents:
diff changeset
6 ### User Options ###
990c9dadb348 Initial revision
darius
parents:
diff changeset
7 ####################
990c9dadb348 Initial revision
darius
parents:
diff changeset
8
990c9dadb348 Initial revision
darius
parents:
diff changeset
9 # Use the C or C++ compiler
990c9dadb348 Initial revision
darius
parents:
diff changeset
10 CC = gcc
990c9dadb348 Initial revision
darius
parents:
diff changeset
11 CFLAGS = -O2 -I. -I../include -g -DOSS
990c9dadb348 Initial revision
darius
parents:
diff changeset
12
990c9dadb348 Initial revision
darius
parents:
diff changeset
13 Lib_file = ../lib/libmikmod.a
990c9dadb348 Initial revision
darius
parents:
diff changeset
14
990c9dadb348 Initial revision
darius
parents:
diff changeset
15 LoaderObjs = mloader.o mlreg.o npertab.o sloader.o load_uni.o \
990c9dadb348 Initial revision
darius
parents:
diff changeset
16 load_mod.o load_m15.o load_mtm.o load_s3m.o load_stm.o load_669.o \
990c9dadb348 Initial revision
darius
parents:
diff changeset
17 load_far.o load_dsm.o load_med.o load_xm.o load_ult.o load_it.o \
990c9dadb348 Initial revision
darius
parents:
diff changeset
18 s3m_it.o
990c9dadb348 Initial revision
darius
parents:
diff changeset
19
990c9dadb348 Initial revision
darius
parents:
diff changeset
20 DriverObjs = mdriver.o mdreg.o drv_nos.o drv_raw.o drv_wav.o \
990c9dadb348 Initial revision
darius
parents:
diff changeset
21 unix_drv/drv_oss.o
990c9dadb348 Initial revision
darius
parents:
diff changeset
22 # unix_drv/drv_AF.o unix_drv/drv_aix.o unix_drv/drv_hp.o
990c9dadb348 Initial revision
darius
parents:
diff changeset
23 # unix_drv/drv_sun.o unix_drv/drv_sgi.o
990c9dadb348 Initial revision
darius
parents:
diff changeset
24
990c9dadb348 Initial revision
darius
parents:
diff changeset
25 PlayerObjs = mplayer.o
990c9dadb348 Initial revision
darius
parents:
diff changeset
26
990c9dadb348 Initial revision
darius
parents:
diff changeset
27 ####################
990c9dadb348 Initial revision
darius
parents:
diff changeset
28 ## Makefile rules ##
990c9dadb348 Initial revision
darius
parents:
diff changeset
29 ####################
990c9dadb348 Initial revision
darius
parents:
diff changeset
30
990c9dadb348 Initial revision
darius
parents:
diff changeset
31 all: $(Lib_file)
990c9dadb348 Initial revision
darius
parents:
diff changeset
32
990c9dadb348 Initial revision
darius
parents:
diff changeset
33 $(Lib_file): stream.o virtch.o munitrk.o \
990c9dadb348 Initial revision
darius
parents:
diff changeset
34 $(LoaderObjs) $(DriverObjs) $(PlayerObjs)
990c9dadb348 Initial revision
darius
parents:
diff changeset
35 ar r $(Lib_file) stream.o virtch.o munitrk.o \
990c9dadb348 Initial revision
darius
parents:
diff changeset
36 $(LoaderObjs) $(PlayerObjs) $(DriverObjs)
990c9dadb348 Initial revision
darius
parents:
diff changeset
37
990c9dadb348 Initial revision
darius
parents:
diff changeset
38 clean:
990c9dadb348 Initial revision
darius
parents:
diff changeset
39 rm *.o
990c9dadb348 Initial revision
darius
parents:
diff changeset
40 rm unix_drv/*.o
990c9dadb348 Initial revision
darius
parents:
diff changeset
41 rm $(Lib_file)