all : (place your final targets here) # Choose your C/C++ compiler here (b=borland w=watcom m=m$) CC=b # Choose your ASM compiler here (m=masm n=nasm t=tasm w=wasm) AA=m # Options to give to * to OBJ compilers OBJ_OPTS= # Options to give to * to EXE compilers EXE_OPTS=/c .asm.obj: $(AA)asm2obj $(OBJ_OPTS) $* .asm.exe: $(AA)asm2exe $(EXE_OPTS) $* .c.obj: $(CC)c2obj $(OBJ_OPTS) $* .c.exe: $(CC)c2exe $(EXE_OPTS) $* .cpp.obj: $(CC)cpp2obj $(OBJ_OPTS) $* .cpp.exe: $(CC)cpp2exe $(EXE_OPTS) $*