summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 811d88e..98c2323 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,17 @@
CXX = g++
+CXXFLAGS = -Wall -Wextra -pedantic -std=c++11 -O2
LIBS = -lfltk
-CXXFLAGS = -Wall -Wextra -std=c++11 -O2 $(LIBS)
+BIN = flogo
+
+.PHONY: all clean remake
+
+all: $(BIN)
+
+clean:
+ rm -f $(BIN) *.o
+
+remake: clean all
+
+
+$(BIN): flogo.o engine.o
+ $(CXX) $(CXXFLAGS) $(LIBS) -o $(BIN) $^