aboutsummaryrefslogtreecommitdiffstats
path: root/meowpp.test/GNUmakefile.targets
diff options
context:
space:
mode:
authorcathook <b01902109@csie.ntu.edu.tw>2014-05-02 04:10:56 +0800
committercathook <b01902109@csie.ntu.edu.tw>2014-05-02 04:10:56 +0800
commit33d419e4d54d969798af80f05e05f0c447a99594 (patch)
treec78355a2d334e34df865aca865dbb4864a85820c /meowpp.test/GNUmakefile.targets
parentd2d7a49563a8f04bd07264a4a989d5656313d375 (diff)
downloadmeow-33d419e4d54d969798af80f05e05f0c447a99594.tar
meow-33d419e4d54d969798af80f05e05f0c447a99594.tar.gz
meow-33d419e4d54d969798af80f05e05f0c447a99594.tar.bz2
meow-33d419e4d54d969798af80f05e05f0c447a99594.tar.lz
meow-33d419e4d54d969798af80f05e05f0c447a99594.tar.xz
meow-33d419e4d54d969798af80f05e05f0c447a99594.tar.zst
meow-33d419e4d54d969798af80f05e05f0c447a99594.zip
big change about dir structure
Diffstat (limited to 'meowpp.test/GNUmakefile.targets')
-rw-r--r--meowpp.test/GNUmakefile.targets8
1 files changed, 8 insertions, 0 deletions
diff --git a/meowpp.test/GNUmakefile.targets b/meowpp.test/GNUmakefile.targets
new file mode 100644
index 0000000..1fba995
--- /dev/null
+++ b/meowpp.test/GNUmakefile.targets
@@ -0,0 +1,8 @@
+
+TARGETS := $(TARGETS) $(BIN)/dsa
+dsa_OBJS := $(OBJ)/BinaryIndexTree.o $(OBJ)/DisjointSet.o $(OBJ)/KD_Tree.o $(OBJ)/MergeableHeap.o $(OBJ)/SegmentTree.o $(OBJ)/SplayTree.o $(OBJ)/SplayTree_Range.o $(OBJ)/VP_Tree.o
+dsa_LIBS :=
+$(BIN)/dsa: $(OBJ)/dsa.o $(dsa_OBJS)
+ @echo Target: $@...
+ @$(CXX) $^ $(CXXFLAGS) `pkg-config --cflags --libs $(dsa_LIBS) 2>/dev/null` -o $@
+