summaryrefslogtreecommitdiffstats
path: root/src/phys/place/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/phys/place/Makefile')
-rw-r--r--src/phys/place/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/phys/place/Makefile b/src/phys/place/Makefile
new file mode 100644
index 00000000..1f700105
--- /dev/null
+++ b/src/phys/place/Makefile
@@ -0,0 +1,30 @@
+TARGETS = place_test BookshelfView.class
+
+CFLAGS = -g -pedantic -Wall
+
+STATIC_LIBS = libhmetis.a
+DYNAMIC_LIBS = -lm
+
+OBJECTS = place_test.o place_qpsolver.o place_base.o place_pads.o place_genqp.o place_gordian.o \
+ place_partition.o place_legalize.o place_bin.o
+
+
+# For hMetis free code, uncomment the following lines
+#
+# CFLAGS = -g -pedantic -Wall -DNO_HMETIS
+# STATIC_LIBS =
+
+
+all: $(TARGETS)
+
+%.o: %.c *.h
+ gcc $(CFLAGS) -c -o $@ $<
+
+place_test: $(OBJECTS)
+ gcc *.o $(STATIC_LIBS) $(DYNAMIC_LIBS) -o place_test
+
+BookshelfView.class: BookshelfView.java
+ javac BookshelfView.java
+
+clean:
+ rm -rf *.o place_test *.class *~