1
0
mirror of https://github.com/rene-dev/stmbl.git synced 2025-01-02 05:52:28 +00:00
stmbl/term/Makefile

19 lines
349 B
Makefile
Raw Permalink Normal View History

2013-12-18 16:25:12 +00:00
CC=g++
CFLAGS=-g -c -Wall `pkg-config --cflags --static glfw3`
LDFLAGS=`pkg-config --static --libs glfw3`
SOURCES=graph.cpp shader_utils.cpp
OBJECTS=$(SOURCES:.cpp=.o)
EXECUTABLE=graph
all: $(SOURCES) $(EXECUTABLE)
$(EXECUTABLE): $(OBJECTS)
$(CC) $(OBJECTS) -o $@ $(LDFLAGS)
.cpp.o:
$(CC) $(CFLAGS) $< -o $@
clean:
rm $(EXECUTABLE)
rm *.o