File: Makefile

package info (click to toggle)
olla 1.1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 104 kB
  • sloc: ansic: 108; makefile: 48
file content (19 lines) | stat: -rw-r--r-- 278 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SUBDIRS=src lib
.PHONY: subdirs $(SUBDIRS)

subdirs: $(SUBDIRS)
$(SUBDIRS):
	$(MAKE) -C $@

lib: src
tests: lib

install: $(SUBDIRS)
	mkdir -p $(DESTDIR)/usr/include $(DESTDIR)/usr/lib
	cp -r lib/*     $(DESTDIR)/usr/lib/

clean:
	rm -vf lib/*.so*
	rm -vf src/*.o

all: subdirs