Mercurial > ~darius > hgwebdir.cgi > mikmod
view mmio/Makefile @ 22:d9f79436e0af default tip
Makefile
Add ranlib for the library
author | darius |
---|---|
date | Fri, 24 Apr 1998 08:05:26 +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)