source: doc/working/exception/impl/Makefile@ fd73248

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr no_list persistent-indexer pthread-emulation qualifiedEnum
Last change on this file since fd73248 was fd73248, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

Some progress on pic exceptions

  • Property mode set to 100644
File size: 440 bytes
Line 
1CFLAGS = -fexceptions -Wall -Werror
2CC = gcc
3
4all: except-pic except-pdc
5
6clean:
7 rm -fv except-pic except-pdc *.o *.so
8
9pic.s: test.c Makefile
10 $(CC) $(CFLAGS) -fPIC -S -o $@ $<
11
12pdc.s: test.c Makefile
13 $(CC) $(CFLAGS) -S -o $@ $<
14
15except-pdc: test-main.c exception.c
16 $(CC) $(CFLAGS) -o $@ $^
17
18libexcept.so: exception.c
19 $(CC) $(CFLAGS) -shared -o $@ -fPIC $^
20
21except-pic: test-main.c libexcept.so
22 $(CC) $(CFLAGS) -o $@ $< -L. -lexcept
23
Note: See TracBrowser for help on using the repository browser.