吃西瓜的小柯基 发表于 2021-7-8 21:21:07

震惊!某萌新打不出“hello Word”!

本帖最后由 吃西瓜的小柯基 于 2021-7-8 21:26 编辑

# Project: Project1
# Makefile created by Dev-C++ 5.11

CPP      = g++.exe
CC       = gcc.exe
WINDRES= windres.exe
OBJ      = main.o text.o Untitled6.o text.o
LINKOBJ= main.o text.o Untitled6.o text.o
LIBS   = -L"D:/Dev-Cpp/MinGW64/lib" -L"D:/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib" -static-libgcc -mwindows
INCS   = -I"D:/Dev-Cpp/MinGW64/include" -I"D:/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include"
CXXINCS= -I"D:/Dev-Cpp/MinGW64/include" -I"D:/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" -I"D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++"
BIN      = Project1.exe.exe
CXXFLAGS = $(CXXINCS)
CFLAGS   = $(INCS)
RM       = rm.exe -f

.PHONY: all all-before all-after clean clean-custom

all: all-before $(BIN) all-after

clean: clean-custom
        ${RM} $(OBJ) $(BIN)

$(BIN): $(OBJ)
        $(CC) $(LINKOBJ) -o $(BIN) $(LIBS)

main.o: main.c
        $(CC) -c main.c -o main.o $(CFLAGS)

text.o: text.c
        $(CC) -c text.c -o text.o $(CFLAGS)

Untitled6.o: Untitled6.c
        $(CC) -c Untitled6.c -o Untitled6.o $(CFLAGS)

text.o: text.c
        $(CC) -c text.c -o text.o $(CFLAGS)
请问大佬显示这个是为什么啊

吃西瓜的小柯基 发表于 2021-7-8 21:26:24

{:10_266:}
页: [1]
查看完整版本: 震惊!某萌新打不出“hello Word”!