log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
pub
>
dyncall
>
dyncall
annotate test/hacking-arm-thumb-interwork/Makefile.darwin @ 525:
cc607f753178
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
- callback_suite_aggrs: added some cases that failed and/or are still failing to design.txt, as they showcase more subtle things like structs right on the reg-stack split, alignment issues, etc.
author
Tassilo Philipp
date
Wed, 13 Apr 2022 15:55:50 +0200 (2022-04-13)
parents
3e629dc19168
children
f13444192ceb
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
rev
line source
0
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
1
TARGETS = test
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
2
TARGET_ARCH += -arch armv6
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
3
TARGET_ARCH += -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
4
# TARGET_ARCH += -mno-thumb-interwork
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
5
# TARGET_ARCH += -mthumb-interwork
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
6
CFLAGS += -mthumb
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
7
# CFLAGS = -mthumb-interwork
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
8
# CFLAGS_THUMB = -mthumb $(CFLAGS)
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
9
# CFLAGS += -mthumb-interwork
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
10
all: $(LOADLIBES) test
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
11
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
12
thumb.o: thumb.c
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
13
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(TARGET_ARCH) -mthumb $< -o $@
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
14
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
15
arm.o: arm.c
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
16
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
17
test.o: test.c
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
18
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
19
test: test.o thumb.o arm.o
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
20
$(LINK.o) $^ $(OUTPUT_OPTION)
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
21
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
22
%.s: %.c
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
23
$(CC) -S $(CPPFLAGS) $(CFLAGS) $(TARGET_ARCH) $< -o $@
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
24
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
25
clean:
3e629dc19168
initial from svn dyncall-1745
Daniel Adler
parents:
diff
changeset
+
−
26
$(RM) $(TARGETS) *.o