Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##### Makefile #####
- # Make file for bait on Linux or compatible OS
- # Released to the public domain 2000 by Neil Hodgson neilh@scintilla.org
- # This makefile tested with GCC 3.2 and GNOME 2.0
- .SUFFIXES: .c .o .h .a
- INCLUDEDIRS=-I../scintilla/include
- CXXFLAGS= -DGTK -DSCI_LEXER -W -Wall
- LEXEROBJS=$(wildcard ../scintilla/gtk/Lex*.o)
- all: bait
- .c.o:
- gcc `pkg-config --cflags --libs gtk+-3.0` $(INCLUDEDIRS) $(CXXFLAGS) -c $< -o $@
- bait: bait.o $(LEXEROBJS) ../scintilla/bin/scintilla.a
- gcc -DGTK $^ -o $@ -lstdc++ `pkg-config --libs gtk+-3.0 gobject-2.0 gmodule-no-export-2.0` -lm
- clean:
- rm -rf bait *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement