diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-06 20:42:40 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-06 20:42:40 +0100 |
commit | 8cd29b9b30400e4275f1a65744cd0b3c2669cc98 (patch) | |
tree | f6297b44f6b7d9d6546311878070383d2d064f45 /Makefile | |
download | sciteco-8cd29b9b30400e4275f1a65744cd0b3c2669cc98.tar.gz |
initial commit of SciTECO based on THECO
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..673debf --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +GTK_CFLAGS:=$(shell pkg-config --cflags gtk+-2.0) +GTK_LDFLAGS:=$(shell pkg-config --libs gtk+-2.0) + +SCI_CFLAGS:=-I../scintilla/include -DGTK -DSCI_LEXER +SCI_LDFLAGS:=../scintilla/bin/scintilla.a + +CPPFLAGS:= +CXXFLAGS:=-Wall -g -O0 $(GTK_CFLAGS) $(SCI_CFLAGS) +LDFLAGS:=$(GTK_LDFLAGS) $(SCI_LDFLAGS) + +all : sciteco + +sciteco : main.o cmdline.o parser.o undo.o + $(CXX) -o $@ $^ $(LDFLAGS) + +clean: + $(RM) sciteco *.o |