ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 139775e was
3e06da2,
checked in by Thierry Delisle <tdelisle@…>, 6 years ago
|
Apparent fix for debug resolution problem with exceptions
|
-
Property mode set to
100644
|
File size:
504 bytes
|
Rev | Line | |
---|
[3e06da2] | 1 | CFLAGS = -fexceptions -Wall -Werror -g |
---|
[fd73248] | 2 | CC = gcc |
---|
| 3 | |
---|
| 4 | all: except-pic except-pdc |
---|
| 5 | |
---|
| 6 | clean: |
---|
| 7 | rm -fv except-pic except-pdc *.o *.so |
---|
| 8 | |
---|
| 9 | pic.s: test.c Makefile |
---|
| 10 | $(CC) $(CFLAGS) -fPIC -S -o $@ $< |
---|
| 11 | |
---|
| 12 | pdc.s: test.c Makefile |
---|
| 13 | $(CC) $(CFLAGS) -S -o $@ $< |
---|
| 14 | |
---|
| 15 | except-pdc: test-main.c exception.c |
---|
| 16 | $(CC) $(CFLAGS) -o $@ $^ |
---|
| 17 | |
---|
[3e06da2] | 18 | exception.s: exception.c |
---|
| 19 | $(CC) $(CFLAGS) -S -o $@ -fPIC $^ |
---|
| 20 | |
---|
[fd73248] | 21 | libexcept.so: exception.c |
---|
| 22 | $(CC) $(CFLAGS) -shared -o $@ -fPIC $^ |
---|
| 23 | |
---|
| 24 | except-pic: test-main.c libexcept.so |
---|
| 25 | $(CC) $(CFLAGS) -o $@ $< -L. -lexcept |
---|
| 26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.