diff options
Diffstat (limited to 'gcc/gcc-test/src/NMakefile')
-rw-r--r-- | gcc/gcc-test/src/NMakefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/gcc-test/src/NMakefile b/gcc/gcc-test/src/NMakefile new file mode 100644 index 0000000..03c73df --- /dev/null +++ b/gcc/gcc-test/src/NMakefile @@ -0,0 +1,14 @@ +all: $(OUT_DIR)/msvc.lib $(OUT_DIR)/msvc.exe + +$(OUT_DIR)/msvc.lib: $(OUT_DIR)/msvc.o + lib -nologo -out:$(OUT_DIR)/msvc.lib $(OUT_DIR)/msvc.o + rc -h + +$(OUT_DIR)/msvc.o: src/msvc.c + $(CC) -nologo -c -Fo:$@ src/msvc.c -MD + +$(OUT_DIR)/msvc.exe: $(OUT_DIR)/msvc2.o + $(CC) -nologo -Fo:$@ $(OUT_DIR)/msvc2.o + +$(OUT_DIR)/msvc2.o: src/msvc.c + $(CC) -nologo -c -Fo:$@ src/msvc.c -DMAIN -MD |