2009/06/18

Cygwin - makefile of C

Command of ompile:make

exefile.exe: file1.o file2.o
gcc -mno-cygwin file1.o file2.o -o exefile.exe

file1.o: file1.c
gcc -mno-cygwin -c file1.c

file2.o: file2.c
gcc -mno-cygwin -c file2.c

0 件のコメント:

コメントを投稿