diff options
Diffstat (limited to 'examples/Makefile.cplus')
-rw-r--r-- | examples/Makefile.cplus | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/examples/Makefile.cplus b/examples/Makefile.cplus index 8f6f7d16..bfda747b 100644 --- a/examples/Makefile.cplus +++ b/examples/Makefile.cplus @@ -4,10 +4,12 @@ PREFIX=/usr/local INSTDIR=$(DESTDIR)/$(PREFIX)/bin MANDIR=$(DESTDIR)/$(PREFIX)/man -CC = g++ -LD = g++ +## CC = g++ +## LD = g++ +CC = clang++ +LD = clang++ -EXECS = sg_tst_excl sg_tst_excl2 sg_tst_excl3 +EXECS = sg_tst_excl sg_tst_excl2 sg_tst_excl3 sg_tst_context EXTRAS = @@ -50,6 +52,9 @@ sg_tst_excl2: sg_tst_excl2.o $(LIBFILESNEW) sg_tst_excl3: sg_tst_excl3.o $(LIBFILESNEW) $(LD) -o $@ $(LDFLAGS) $^ +sg_tst_context: sg_tst_context.o $(LIBFILESNEW) + $(LD) -o $@ $(LDFLAGS) $^ + install: $(EXECS) install -d $(INSTDIR) for name in $^; \ |