diff options
author | lloyd <[email protected]> | 2006-12-08 17:11:12 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-12-08 17:11:12 +0000 |
commit | a8088560d1831f82a6fa39083aab8075a22a65b0 (patch) | |
tree | 12332f2c855b68275d52e6e8f409b226b252d6b9 /misc/gtk/Makefile | |
parent | f4dc53a53647d419095e84930c521269850cea34 (diff) |
Convert the makefile for the GTK+ example to a generic Unix makefile
Diffstat (limited to 'misc/gtk/Makefile')
-rw-r--r-- | misc/gtk/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/gtk/Makefile b/misc/gtk/Makefile new file mode 100644 index 000000000..d436244a4 --- /dev/null +++ b/misc/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 |