File: Makefile

package info (click to toggle)
retty 1.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 96 kB
  • ctags: 54
  • sloc: ansic: 414; asm: 205; makefile: 42; perl: 24
file content (26 lines) | stat: -rw-r--r-- 366 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
CFLAGS=-Wall -g
LIBS=-lutil
LDFLAGS=$(LIBS)

EXE=blindtty retty


all: $(EXE)


blindtty: blindtty.o


retty: retty.o

retty.o: bc-attach.i bc-detach.i

bc-attach.i: attach.o
	objdump -j .text -d $^ | ./bytecode.pl attach_code >$@

bc-detach.i: detach.o
	objdump -j .text -d $^ | ./bytecode.pl detach_code >$@


clean:
	rm -f *.o $(EXE) bc-attach.* bc-detach.* test