>> Edit article
이름
제목
패스워드
OBJECTS = main.o read.o write.o SRCS = main.c read.c write.c CC = cc CFLAGS = -g -c TARGET = test $(TARGET) : $(OBJECTS) $(CC) -o $(TARGET) $(OBJECTS) clean : rm -rf $(OBJECTS) $(TARGET) core main.o : io.h main.c read.o : io.h read.c write.o: io.h write.c 이렇게 makefile을 만들었는데요.. 유닉스에서 > makefile 하면 makefile[7]: .SUFFIXES=: not found makefile[13]: INC: not found makefile[13]: -g: not found makefile[18]: -: cannot open makefile[20]: TARGET: not found makefile[20]: all: not found makefile[21]: TARGET: not found makefile[21]: OBJS: not found makefile[22]: OBJS: not found makefile[22]: -shared: not found makefile[24]: dep: not found makefile[25]: INC: not found makefile[25]: SRCS: not found makefile[25]: gccmakedep: not found makefile[27]: clean: not found makefile[28]: OBJS: not found makefile[28]: TARGET: not found 이런 오류가 떨어지는데..뭐가 문제있는지.. make -p 해서 보면 위의 메크로가 정의 되어있는데.. 뭐가 문제인지 모르겠습니다..고수님의 답변을 기다립니다.--이 곳에 서명을 적어주십시오. 이지영
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved