-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathmakefile
More file actions
32 lines (30 loc) · 675 Bytes
/
makefile
File metadata and controls
32 lines (30 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
build:
cd ./src &&\
make &&\
cp libso_loader.so ./../test
run_test: build
cd ./src;\
make -f Makefile.example;\
LD_LIBRARY_PATH=. ./so_exec so_test_prog > ../result.out
run: build
cd ./test &&\
make -f Makefile.checker > ../results.out
run_test_no:
cd ./test &&\
_test/run_test.sh init &&\
_test/run_test.sh 5 &&\
_test/run_test.sh clean
save: clean
git add -A &&\
echo Enter commit message: &&\
read line &&\
git commit -m "$$line" &&\
git push
clean: clean_src clean_test
clean_test:
cd ./test;\
rm -f libso_loader.so;\
make -f Makefile.checker clean
clean_src:
cd ./src;\
rm -f *.o so_exec so_test_prog libso_loader.so ../results.out ../results.out