Mercurial > ~darius > hgwebdir.cgi > mikmod
changeset 11:d5cb2cfc8eca
Initial revision
author | darius |
---|---|
date | Fri, 23 Jan 1998 16:05:11 +0000 |
parents | 55420dceb8e0 |
children | 437e8455d862 |
files | mmio/Makefile |
diffstat | 1 files changed, 29 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mmio/Makefile Fri Jan 23 16:05:11 1998 +0000 @@ -0,0 +1,29 @@ +# 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)