blob: 3a343e6d1754c95bc3e8008b762a0b0c71e6eb51 (
plain) (
blame)
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
27
28
29
30
31
32
|
CC = @CC@
LD = @LD@
CFLAGS = @CFLAGS@ -I@erl_include@ @DEFS@
CROSSLDFLAGS = @CROSSLDFLAGS@
PROGS = port_test@exe@ echo_args@exe@ dead_port@exe@
DRIVERS = echo_drv@dll@ exit_drv@dll@ failure_drv@dll@ sleep_failure_drv@dll@
all: $(PROGS) $(DRIVERS) port_test.@EMULATOR@
port_test@exe@: port_test@obj@
$(LD) $(CROSSLDFLAGS) -o port_test port_test@obj@ @LIBS@
port_test@obj@: port_test.c
$(CC) -c -o port_test@obj@ $(CFLAGS) port_test.c
echo_args@exe@: echo_args@obj@
$(LD) $(CROSSLDFLAGS) -o echo_args echo_args@obj@ @LIBS@
echo_args@obj@: echo_args.c
$(CC) -c -o echo_args@obj@ $(CFLAGS) echo_args.c
dead_port@exe@: dead_port@obj@
$(LD) $(CROSSLDFLAGS) -o dead_port dead_port@obj@ @LIBS@
dead_port@obj@: dead_port.c
$(CC) -c -o dead_port@obj@ $(CFLAGS) dead_port.c
port_test.@EMULATOR@: port_test.erl
@erl_name@ -compile port_test
@SHLIB_RULES@
|