lib/Makefile
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | INCLUDES = -I../include |
| 4 | |
| 5 | CFLAGS = -g2 -Wall $(INCLUDES) -fPIC |
| 6 | OBJS = array_plugin_api.o |
| 7 | |
| 8 | OUTPUT = libarray-info.a |
| 9 | |
| 10 | all : $(OUTPUT) |
| 11 | |
| 12 | $(OUTPUT) : $(OBJS) |
| 13 | ar -cr $(OUTPUT) $(OBJS) |
| 14 | ranlib $(OUTPUT) |
| 15 | |
| 16 | install: |
| 17 | |
| 18 | indent : |
| 19 | find . -name "*.[ch]" -exec indent -kr -i8 -ts8 -sob -l80 -ss -bs -psl {} \; && find . -name "*~" -exec rm {} \; |
| 20 | |
| 21 | clean : |
| 22 | rm -f *~ $(OBJS) $(OUTPUT) |
| 23 | |
| 24 | distclean : clean |