File: makefile

package info (click to toggle)
libopaque 1.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,064 kB
  • sloc: ansic: 7,701; python: 570; javascript: 379; makefile: 269; java: 195; php: 181; erlang: 121; ruby: 61; sh: 12
file content (15 lines) | stat: -rw-r--r-- 284 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
all: opaque.beam opaque.so

opaque.beam: opaque.erl
	erlc opaque.erl

opaque.so: opaque.c
	gcc -fPIC -shared -o opaque.so opaque.c -lopaque -I/usr/lib/erlang/usr/include/

test: opaque.so opaque.beam
	escript test.erl

clean:
	rm -f erl_crash.dump
	rm -f opaque.beam
	rm -f opaque.so