aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/async_ports_SUITE_data/Makefile.src
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/test/async_ports_SUITE_data/Makefile.src')
-rw-r--r--erts/emulator/test/async_ports_SUITE_data/Makefile.src14
1 files changed, 12 insertions, 2 deletions
diff --git a/erts/emulator/test/async_ports_SUITE_data/Makefile.src b/erts/emulator/test/async_ports_SUITE_data/Makefile.src
index d2cd90f5b3..56da3fbe12 100644
--- a/erts/emulator/test/async_ports_SUITE_data/Makefile.src
+++ b/erts/emulator/test/async_ports_SUITE_data/Makefile.src
@@ -1,5 +1,15 @@
-all: cport@obj@
+CC = @CC@
+LD = @LD@
+CFLAGS = @CFLAGS@ @DEFS@
+CROSSLDFLAGS = @CROSSLDFLAGS@
-@SHLIB_RULES@
+PROGS = cport@exe@
+
+
+all: $(PROGS)
+
+cport@exe@: cport@obj@
+ $(LD) $(CROSSLDFLAGS) -o cport cport@obj@ @LIBS@
cport@obj@: cport.c
+ $(CC) -c -o cport@obj@ $(CFLAGS) cport.c