Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - INCLUDES = -Iinclude -Iinclude/MyInclude
 - CXXFLAGS += $(INCLUDES) -MD -pipe -Wall -Wextra -std=c++11 -fPIC
 - CFLAGS += $(INCLUDES) -MD -pipe -Wall -Wextra -std=c99 -fPIC
 - SRCS = MyFile.cpp MyFile2.cpp
 - C_SRCS = MyCFile.c
 - OBJS = $(SRCS:.cpp=.o) $(C_SRCS:.c=.o)
 - DEPS = $(SRCS:.cpp=.d) $(C_SRCS:.c=.d)
 - OUT = coreupdater
 - .PHONY: all clean
 - all: $(OBJS)
 - $(CXX) $(CXXFLAGS) -o $(OUT) $(OBJS)
 - clean:
 - rm -f $(OBJS) $(DEPS) $(OUT)
 - -include $(DEPS)
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment