view mmio/Makefile @ 15:ca72d2b59bf4

Kill this stuff.. Rewriting the frontend
author darius
date Thu, 23 Apr 1998 07:22:22 +0000
parents 6218f9885552
children
line wrap: on
line source

# MMIO Library Makefile for Linux
# Divine Entertainment Game Programming Pack
#

##########################
## User settable macros ##
##########################

Compiler          = gcc
Librarian         = ar
RanLib		  = ranlib
Compiler_Options  = -O2 -I. -I../mikmod -I../include -g
Lib_file          = ../lib/libmmio.a

Object_files      = mmio.o mmalloc.o mmerror.o

####################
## Makefile rules ##
####################

$(Lib_file): $(Object_files)
	$(Librarian) r $(Lib_file) $(Object_files)
	$(RanLib) $(Lib_file)

%.o: %.c
	$(CC) -c $(Compiler_Options) $<

clean:
	rm *.o
	rm $(Lib_file)