# HG changeset patch # User darius # Date 885571511 0 # Node ID d5cb2cfc8ecab20c59b5e92ab1c1c68a9229c39c # Parent 55420dceb8e0fce5b6db73962a87da4908618b36 Initial revision diff -r 55420dceb8e0 -r d5cb2cfc8eca mmio/Makefile --- /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)