start tidy makefile
[hband-tools.git] / ssh-groupcommand / Makefile
blob7b96fe463203a786d6fe15a8e4b9c79d54c46157
2 sh.ssh: libmallocab.so libstrtokdup.so
3 gcc $(DEBUG) $(CCFLAGS) -o $@ sh.ssh.c $+
5 debug: DEBUG = -DDEBUG
7 debug: sh.ssh
9 libmallocab.so:
10 gcc $(DEBUG) $(CCFLAGS) -o $@ -shared libmallocab.c
12 libstrtokdup.so:
13 gcc $(DEBUG) $(CCFLAGS) -o $@ -shared libstrtokdup.c
15 t_strtokdup: libmallocab.so libstrtokdup.so
16 gcc $(DEBUG) $(CCFLAGS) -o $@ t_strtokdup.c $+
18 install: sh.ssh
19 install sh.ssh -m 0755 /usr/bin/sh.ssh
20 ln -sfT sh.ssh /usr/bin/bash.ssh
21 ln -sfT bash.ssh /usr/bin/rbash.ssh