BCC での Makefile
Future's Laboratory殿を参考
makefile_bcc - FreeStyleWiki
#Makefile CC = bcc32 LINKER = ilink32 INCLUDE = -I"c:\borland\bcc55\Include" LIB = -L"c:\borland\bcc55\Lib;c:\borland\bcc55\Lib\PSDK" #コンパイルオプション CFLAGS = -w -tWC LFLAG = /Tpe TARGET = search.exe OBJS = search.obj MYLIB = eprintf.lib ALL : $(TARGET) # objファイルの生成 search.obj: search.c $(CC) $(CFLAGS) -c search.c # exeファイルの生成 $(TARGET): $(OBJS) $(LINKER) $(LFLAGS) $(LIB) $(OBJS) c0x32.obj,$(TARGET),,cw32.lib import32.lib $(MYLIB) clean: del /F *.exe del /F *.obj del /F *.tds del /F *.il? del /F *.map