summaryrefslogtreecommitdiffstats
path: root/debian/keygen-test/Makefile
blob: 71f5eb8c91fc7a8cc573be63b21e18a21c0297e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
test: getpid.so
	chmod +x keygen-test
	./keygen-test

getpid.o: getpid.c
	gcc $(CPPFLAGS) $(CFLAGS) -fPIC -c $< -o $@

getpid.so: getpid.o
	gcc $(LDFLAGS) -shared -o $@ $<

clean:
	rm -f getpid.o getpid.so key1 key1.pub key2 key2.pub