CC=g++
CFLAGS=-O0
TARGET=./problem2_cpp
OUTFILE=../output/cpp.txt
$(TARGET): problem2.o
$(CC) $(CFLAGS) -o $(TARGET) problem2.o
problem2.o: problem2.cpp
$(CC) $(CFLAGS) -c problem2.cpp
clean:
rm -f *.o $(TARGET) $(OUTFILE)
run: $(TARGET)
$(TARGET) <$(INFILE) >$(OUTFILE)
我是一個相當簡單的makefile,用於編譯,運行cpp並輸出其文件。但我得到這個奇怪的錯誤:在ssh中運行cpp文件的MakeFile錯誤
quota_ufs: over hard disk limit (pid 20159, uid 58861, inum 5132792, fs /home) ld: fatal: file ./problem2_cpp: creation interrupted: Disc quota exceeded
這是什麼意思?
是的,謝謝。它現在有效。 – 2010-10-30 00:48:34