/filefind/C/Makefile |
---|
4,12 → 4,13 |
.PHONY: clean test cleantest |
$(PRG): checkfiles.h $(SRC) |
@echo "INFO: Building $@ from $^" |
$(CC) $@.c -o $@ |
clean: |
rm -f $(PRG) |
test: |
test: $(PRG) |
./$(PRG) $(DIR) > result |
sort result > result.sort |
find $(DIR) > result2 |
/filefind/go/Makefile |
---|
4,12 → 4,13 |
.PHONY: clean test cleantest |
$(PRG): $(SRC) |
@echo "INFO: Building $@ from $^" |
go build $(SRC) |
clean: |
rm -f $(PRG) |
test: |
test: $(PRG) |
./$(PRG) $(DIR) > result |
sort result > result.sort |
find $(DIR) > result2 |
/filefind/java/Makefile |
---|
13,7 → 13,7 |
clean: |
rm -f $(PRG) |
test: |
test: $(PRG) |
java $(BASE) $(DIR) > result |
sort result > result.sort |
find $(DIR) > result2 |
/filefind/pascal/Makefile |
---|
4,12 → 4,13 |
.PHONY: clean test cleantest |
$(PRG): $(SRC) |
@echo "Building $@ from $^" |
fpc $(SRC) |
clean: |
rm -f $(PRG) $(PRG).o |
test: |
test: $(PRG) |
./$(PRG) $(DIR) > result |
sort result > result.sort |
find $(DIR) > result2 |