summaryrefslogtreecommitdiff
path: root/gcc/gcc-test/src/NMakefile
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2017-03-26 17:07:27 -0700
committerDaniel Mueller <deso@posteo.net>2017-03-26 17:07:27 -0700
commit86415f23a86b5a44aa000d513500a9d1d0df4bba (patch)
tree5a9c513c9531414502de67dda322fca9baac7563 /gcc/gcc-test/src/NMakefile
parent547085cdefb3372e8c42beabac5d45f2f6b1a535 (diff)
downloadnitrocli-86415f23a86b5a44aa000d513500a9d1d0df4bba.tar.gz
nitrocli-86415f23a86b5a44aa000d513500a9d1d0df4bba.tar.bz2
Import subrepo gcc/:gcc at cf1f00bc038a0df769e14bb85480ab9c12eae08d
Diffstat (limited to 'gcc/gcc-test/src/NMakefile')
-rw-r--r--gcc/gcc-test/src/NMakefile14
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