view mmio/Makefile @ 12:437e8455d862

General tidy up.. Rename makefile.gcc to Makefile
author darius
date Thu, 23 Apr 1998 07:20:13 +0000
parents d5cb2cfc8eca
children 6218f9885552
line wrap: on
line source

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

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

Compiler          = gcc
Librarian         = ar
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)

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

clean:
	rm *.o
	rm $(Lib_file)