streamlet-examples/Makefile
author František Kučera <franta-hg@frantovo.cz>
Wed, 29 Jan 2020 18:05:13 +0100
branchv_0
changeset 72 f7b9db6fc32b
parent 63 8c6885543e2c
child 76 679f1e793ee3
permissions -rw-r--r--
streamlet examples: dirty implementation of Java helper classes + demo code
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
72
f7b9db6fc32b streamlet examples: dirty implementation of Java helper classes + demo code
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
     1
all: xpath pid jar_info zip_info
63
8c6885543e2c streamlet examples: common functions in C/C++
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     2
	
8c6885543e2c streamlet examples: common functions in C/C++
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     3
.PHONY: all clean
8c6885543e2c streamlet examples: common functions in C/C++
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     4
8c6885543e2c streamlet examples: common functions in C/C++
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     5
xpath: streamlet-common.h xpath.cpp
8c6885543e2c streamlet examples: common functions in C/C++
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     6
	g++ -g -fno-omit-frame-pointer -fsanitize=address xpath.cpp -o xpath $(shell pkg-config --libs --cflags libxml++-2.6)
8c6885543e2c streamlet examples: common functions in C/C++
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     7
8c6885543e2c streamlet examples: common functions in C/C++
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     8
pid: streamlet-common.h pid.cpp
8c6885543e2c streamlet examples: common functions in C/C++
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     9
	g++ -g -fno-omit-frame-pointer -fsanitize=address pid.cpp -o pid
8c6885543e2c streamlet examples: common functions in C/C++
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    10
72
f7b9db6fc32b streamlet examples: dirty implementation of Java helper classes + demo code
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    11
jar_info: Streamlet.java JarInfo.java
f7b9db6fc32b streamlet examples: dirty implementation of Java helper classes + demo code
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    12
	javac JarInfo.java
f7b9db6fc32b streamlet examples: dirty implementation of Java helper classes + demo code
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    13
	jar cfe jar_info JarInfo Streamlet*.class JarInfo.class
f7b9db6fc32b streamlet examples: dirty implementation of Java helper classes + demo code
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    14
	chmod +x jar_info
f7b9db6fc32b streamlet examples: dirty implementation of Java helper classes + demo code
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    15
f7b9db6fc32b streamlet examples: dirty implementation of Java helper classes + demo code
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    16
zip_info: jar_info
f7b9db6fc32b streamlet examples: dirty implementation of Java helper classes + demo code
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    17
	ln -s jar_info zip_info
f7b9db6fc32b streamlet examples: dirty implementation of Java helper classes + demo code
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    18
63
8c6885543e2c streamlet examples: common functions in C/C++
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    19
clean:
8c6885543e2c streamlet examples: common functions in C/C++
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    20
	rm -f xpath
8c6885543e2c streamlet examples: common functions in C/C++
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    21
	rm -f pid
72
f7b9db6fc32b streamlet examples: dirty implementation of Java helper classes + demo code
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    22
	rm -f jar_info
f7b9db6fc32b streamlet examples: dirty implementation of Java helper classes + demo code
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    23
	rm -f zip_info
f7b9db6fc32b streamlet examples: dirty implementation of Java helper classes + demo code
František Kučera <franta-hg@frantovo.cz>
parents: 63
diff changeset
    24
	rm -f *.class