14 lines
187 B
Makefile
14 lines
187 B
Makefile
FILE = netcalc
|
|
|
|
all: $(FILE) tests
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm netcalc
|
|
|
|
$(FILE): $(FILE).c
|
|
gcc $^ -o $@
|
|
|
|
tests:
|
|
./netcalc -c < test/cases > test/results
|
|
diff test/results test/expected
|