File: makefile

package info (click to toggle)
bb 1.2-9
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,152 kB
  • ctags: 3,357
  • sloc: ansic: 43,440; sh: 152; makefile: 64; asm: 36
file content (25 lines) | stat: -rw-r--r-- 970 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
##############################################################################
# Makefile to compile mikmod with djgpp                                      #
# more DJGPP stuff for games & gfx at:                                       #
#      http://www.informatik.tu-muenchen.de/~breitlip/djgpp.html             #
# Peter Breitling (breitlip@informatik.tu-muenchen.de) 11/96                 #
##############################################################################

CC      = gcc
CFLAGS  = -O2 -m486 -ffast-math -funroll-loops -fstrength-reduce -I./include

LOADERS = load_s3m
DRIVERS = drv_gus drv_sb drv_ss drv_pcsp
MMOBJ   = mirq.o mdma.o virtch.o mloader.o mdriver.o mplayer.o \
          munitrk.o mmio.o pcsp.o 

LDOBJ   = $(LOADERS:%=%.o)
DROBJ   = $(DRIVERS:%=%.o)
OBJ     = $(MMOBJ) $(MCOBJ) $(DROBJ) $(LDOBJ)

all:	libmik.a

libmik.a: $(MMOBJ) $(LDOBJ) $(DROBJ)
	$(AR) rcs libmik.a $(MMOBJ) $(LDOBJ) $(DROBJ) 
clean:
	del *.o