2018-11-18 16:15:07 -05:00
|
|
|
FLAGS=-cp .:ojdbc8.jar
|
|
|
|
|
|
|
|
all: clean build refresh-db exec test
|
|
|
|
|
|
|
|
build:
|
|
|
|
javac $(FLAGS) Project3.java
|
|
|
|
|
|
|
|
exec:
|
|
|
|
java $(FLAGS) Project3 input.txt output.txt
|
|
|
|
|
|
|
|
test:
|
|
|
|
diff input.txt sample/input.txt
|
|
|
|
diff output.txt sample/output.txt
|
|
|
|
|
|
|
|
refresh-db:
|
2018-11-18 20:02:32 -05:00
|
|
|
bash ./scripts/run.sh
|
2018-11-18 16:15:07 -05:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f ./*.class ./output.txt
|