aboutsummaryrefslogtreecommitdiffstats
path: root/Attic/gtk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Attic/gtk/Makefile')
-rw-r--r--Attic/gtk/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Attic/gtk/Makefile b/Attic/gtk/Makefile
new file mode 100644
index 000000000..10e069bb3
--- /dev/null
+++ b/Attic/gtk/Makefile
@@ -0,0 +1,18 @@
+
+LIBS=$(shell botan-config --libs) $(shell pkg-config --libs gtk+-2.0)
+IFLAGS=$(shell botan-config --cflags) $(shell pkg-config --cflags gtk+-2.0)
+
+CXX = g++
+CXXFLAGS = -Wall -W $(IFLAGS)
+
+dsa: gtk_ui.o dsa.o
+ $(CXX) $^ $(LIBS) -o $@
+
+gtk_ui.o: gtk_ui.cpp gtk_ui.h
+ $(CXX) $(CXXFLAGS) -c $< -o $@
+
+dsa.o: dsa.cpp gtk_ui.h
+ $(CXX) $(CXXFLAGS) -c $< -o $@
+
+clean:
+ rm -f dsa *.o