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

PROGS = my_echo@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