Code cleanup
This commit is contained in:
parent
b64dcf4359
commit
e80a1ce6c7
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#$Id$
|
#$Id$
|
||||||
#Copyright (c) 2010 Pierre Pronchery <khorben@defora.org>
|
#Copyright (c) 2010-2012 Pierre Pronchery <khorben@defora.org>
|
||||||
#This file is part of DeforaOS Unix utils
|
#This file is part of DeforaOS Unix utils
|
||||||
#This program is free software: you can redistribute it and/or modify
|
#This program is free software: you can redistribute it and/or modify
|
||||||
#it under the terms of the GNU General Public License as published by
|
#it under the terms of the GNU General Public License as published by
|
||||||
|
@ -19,12 +19,13 @@
|
||||||
#variables
|
#variables
|
||||||
CC="../../../../Devel/src/c99/src/c99"
|
CC="../../../../Devel/src/c99/src/c99"
|
||||||
DOT="dot -Tpng:cairo:gd"
|
DOT="dot -Tpng:cairo:gd"
|
||||||
|
RM="rm -f"
|
||||||
VIEW="view"
|
VIEW="view"
|
||||||
|
|
||||||
|
|
||||||
#functions
|
#functions
|
||||||
#main
|
#main
|
||||||
rm -f ../src/*.o.png
|
$RM ../src/*.o.png
|
||||||
(cd '../src' && make -k CC="$CC" CPPFLAGS="-M graph -D__ELF__ -D__i386__" CFLAGS= distclean all)
|
(cd '../src' && make -k CC="$CC" CPPFLAGS="-M graph -D__ELF__ -D__i386__" CFLAGS= distclean all)
|
||||||
for i in ../src/*.o; do
|
for i in ../src/*.o; do
|
||||||
$DOT -o "$i.png" "$i"
|
$DOT -o "$i.png" "$i"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user