aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@looxix.net>2005-11-22 00:41:56 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-21 17:55:24 -0800
commit4c520e1ad243ed347dfc0e1f8c6e3dec19994f42 (patch)
tree7b2701aa6135f3ba95ecf98e55bb8497de3e245d /Makefile
parentca682df2d73399c4d24d4400cc1a06c9dfc79477 (diff)
downloadsparse-dev-4c520e1ad243ed347dfc0e1f8c6e3dec19994f42.tar.gz
[PATCH] Add a function to translate the SSA form back to normal form.
For now, it use a simple method but which introduces a lot more copies than necessary. Can be fixed later. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@looxix.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 714348aa..d7c2d093 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ CFLAGS += -DDEBUG
PREFIX=$(HOME)
BINDIR=$(PREFIX)/bin
-PROGRAMS=test-lexing test-parsing obfuscate check compile test-linearize example
+PROGRAMS=test-lexing test-parsing obfuscate check compile test-linearize example test-unssa
LIB_H= token.h parse.h lib.h symbol.h scope.h expression.h target.h \
linearize.h bitmap.h ident-list.h compat.h flow.h allocate.h \
@@ -30,7 +30,7 @@ LIB_H= token.h parse.h lib.h symbol.h scope.h expression.h target.h \
LIB_OBJS= target.o parse.o tokenize.o pre-process.o symbol.o lib.o scope.o \
expression.o show-parse.o evaluate.o expand.o inline.o linearize.o \
sort.o allocate.o compat-$(OS).o ptrlist.o \
- flow.o cse.o simplify.o memops.o liveness.o storage.o
+ flow.o cse.o simplify.o memops.o liveness.o storage.o unssa.o
LIB_FILE= libsparse.a
SLIB_FILE= libsparse.so
@@ -80,6 +80,9 @@ check: check.o $(LIBS)
example: example.o $(LIBS)
$(CC) $(LDFLAGS) -o $@ $< $(LIBS)
+test-unssa: test-unssa.o $(LIBS)
+ $(CC) $(LDFLAGS) -o $@ $< $(LIBS)
+
$(LIB_FILE): $(LIB_OBJS)
$(AR) rcs $@ $(LIB_OBJS)