mirror of https://github.com/lukechilds/cc-rs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
380 B
14 lines
380 B
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
|
|
|