Unified Code Counter (UCC) by the USC Center for Systems and Software Engineering, SLOC counter sources
http://csse.usc.edu/ucc_new/wordpress/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
369 B
20 lines
369 B
#UNAME := $(shell uname)
|
|
#ifeq ($(UNAME), SunOS)
|
|
all:
|
|
mkdir -p tmp
|
|
cp src/* tmp
|
|
for file in $(shell ls tmp) ; do \
|
|
sed -i -e 's///g' tmp/$$file ; \
|
|
done
|
|
mkdir -p bin
|
|
g++ -Wall -std=c++0x -o bin/UCC -DUNIX tmp/*.cpp
|
|
rm -rf tmp
|
|
#endif
|
|
#notSunOS:
|
|
#mkdir -p bin
|
|
#g++ -Wall -o bin/UCC -DUNIX src/*.cpp
|
|
clean:
|
|
-rm -f bin/UCC bin/UCC.exe
|
|
-rm -rf tmp
|
|
-rmdir bin
|
|
|