aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/os_SUITE_data/Makefile.src
blob: f83f781411d9ad25d9a8ef4b520171528b69b14f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CC = @CC@
LD = @LD@
CFLAGS = @CFLAGS@ -I@erl_include@ @DEFS@
CROSSLDFLAGS = @CROSSLDFLAGS@

PROGS = my_echo@exe@ my_fds@exe@

all: $(PROGS)

my_echo@exe@: my_echo@obj@
	$(LD) $(CROSSLDFLAGS) -o my_echo my_echo@obj@ @LIBS@

my_echo@obj@: my_echo.c
	$(CC) -c -o my_echo@obj@ $(CFLAGS) my_echo.c

my_fds@exe@: my_fds@obj@
	$(LD) $(CROSSLDFLAGS) -o my_fds my_fds@obj@ @LIBS@

my_fds@obj@: my_fds.c
	$(CC) -c -o my_fds@obj@ $(CFLAGS) my_fds.c