comparison libao2/Makefile @ 1010:6d3a6d42c831

dependency stuff fixed
author arpi_esp
date Mon, 04 Jun 2001 19:33:28 +0000
parents 69b4f944ce08
children 74d55f3c4680
comparison
equal deleted inserted replaced
1009:c51d7e4853d6 1010:6d3a6d42c831
15 # .PHONY: all clean 15 # .PHONY: all clean
16 16
17 .c.o: 17 .c.o:
18 $(CC) -c $(CFLAGS) -o $@ $< 18 $(CC) -c $(CFLAGS) -o $@ $<
19 19
20 $(LIBNAME): .depend $(OBJS) 20 $(LIBNAME): $(OBJS)
21 $(AR) r $(LIBNAME) $(OBJS) 21 $(AR) r $(LIBNAME) $(OBJS)
22 22
23 all: $(LIBNAME) 23 all: $(LIBNAME)
24 24
25 clean: 25 clean:
27 27
28 distclean: 28 distclean:
29 rm -f Makefile.bak *.o *.a *~ .depend 29 rm -f Makefile.bak *.o *.a *~ .depend
30 30
31 dep: depend 31 dep: depend
32 depend: .depend
33 32
34 .depend: Makefile ../config.mak ../config.h 33 depend:
35 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend 34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
36 35
37 # 36 #
38 # include dependency files if they exist 37 # include dependency files if they exist
39 # 38 #