Skip to content

Commit 6dfa5e4

Browse files
jdolanCopilot
andcommitted
Build HelloiOS via Automake on Apple platforms
Add HelloiOS (from Hello-iOS/Hello-iOS.c) to noinst_PROGRAMS under an if APPLE conditional. The binary is named HelloiOS rather than Hello-iOS to avoid conflicting with the Hello-iOS/ source subdirectory. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 066247b commit 6dfa5e4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Examples/Makefile.am

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ noinst_PROGRAMS = \
22
Hello \
33
HelloCompute
44

5+
if APPLE
6+
noinst_PROGRAMS += HelloiOS
7+
HelloiOS_SOURCES = Hello-iOS/Hello-iOS.c
8+
endif
9+
510
CFLAGS += \
611
-I$(top_srcdir)/Sources \
712
-DEXAMPLES=\"$(abs_srcdir)\" \

0 commit comments

Comments
 (0)