comparison mmio/Makefile @ 11:d5cb2cfc8eca

Initial revision
author darius
date Fri, 23 Jan 1998 16:05:11 +0000
parents
children 6218f9885552
comparison
equal deleted inserted replaced
10:55420dceb8e0 11:d5cb2cfc8eca
1 # MMIO Library Makefile for Linux
2 # Divine Entertainment Game Programming Pack
3 #
4
5 ##########################
6 ## User settable macros ##
7 ##########################
8
9 Compiler = gcc
10 Librarian = ar
11 Compiler_Options = -O2 -I. -I../mikmod -I../include -g
12
13 Lib_file = ../lib/libmmio.a
14
15 Object_files = mmio.o mmalloc.o mmerror.o
16
17 ####################
18 ## Makefile rules ##
19 ####################
20
21 $(Lib_file): $(Object_files)
22 $(Librarian) r $(Lib_file) $(Object_files)
23
24 %.o: %.c
25 $(CC) -c $(Compiler_Options) $<
26
27 clean:
28 rm *.o
29 rm $(Lib_file)