This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can I stop symbols from the Makefile showing up in the tree?

Tags: None
(comma "," separated)
User avatar
manasij7479
Registered Member
Posts
52
Karma
0
OS
Image
I imported the project from the (handmade) Makefile, so the "Custom Makefile Project Manager" is responsible for this.
The Makefile is as follows;
Code: Select all
CXX:= g++
CXXFLAGS :=-c -Wall -std=c++0x -g
LDFLAGS := -lpthread -lGL -lGLEW -lsfml-system -lsfml-window

SRCS :=         $(wildcard *.cpp)

OBJS :=         $(patsubst %.cpp, %.o, $(SRCS))
TARGET :=       gl
default :       $(TARGET)

%.o : %.cpp %.h
   $(CXX) $(CXXFLAGS) $< -o $@

$(TARGET) :     $(OBJS)
   $(CXX) $(LDFLAGS) $^ -o $(TARGET)

clean :
   rm -f $(OBJS) $(TARGET) *~

redo:
   make -s clean
   make -s -j4

test: $(TARGET)
   ./$(TARGET)
default:$(TARGET)

Any idea how the project shows only the 'real' files, not everything from the Makefile ?


Manasij Mukherjee @ Arch Linux | gcc-4.9.2 | Plasma 5.2


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell