comparison mmio/Makefile @ 14:6218f9885552

Clean up the Makefile
author darius
date Thu, 23 Apr 1998 07:21:28 +0000
parents d5cb2cfc8eca
children
comparison
equal deleted inserted replaced
13:32f80cd7bfee 14:6218f9885552
6 ## User settable macros ## 6 ## User settable macros ##
7 ########################## 7 ##########################
8 8
9 Compiler = gcc 9 Compiler = gcc
10 Librarian = ar 10 Librarian = ar
11 RanLib = ranlib
11 Compiler_Options = -O2 -I. -I../mikmod -I../include -g 12 Compiler_Options = -O2 -I. -I../mikmod -I../include -g
12
13 Lib_file = ../lib/libmmio.a 13 Lib_file = ../lib/libmmio.a
14 14
15 Object_files = mmio.o mmalloc.o mmerror.o 15 Object_files = mmio.o mmalloc.o mmerror.o
16 16
17 #################### 17 ####################
18 ## Makefile rules ## 18 ## Makefile rules ##
19 #################### 19 ####################
20 20
21 $(Lib_file): $(Object_files) 21 $(Lib_file): $(Object_files)
22 $(Librarian) r $(Lib_file) $(Object_files) 22 $(Librarian) r $(Lib_file) $(Object_files)
23 $(RanLib) $(Lib_file)
23 24
24 %.o: %.c 25 %.o: %.c
25 $(CC) -c $(Compiler_Options) $< 26 $(CC) -c $(Compiler_Options) $<
26 27
27 clean: 28 clean: