Advertisement
Guest User

Untitled

a guest
May 31st, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. ##### Makefile #####
  2. # Make file for bait on Linux or compatible OS
  3. # Released to the public domain 2000 by Neil Hodgson neilh@scintilla.org
  4. # This makefile tested with GCC 3.2 and GNOME 2.0
  5.  
  6. .SUFFIXES: .c .o .h .a
  7.  
  8. INCLUDEDIRS=-I../scintilla/include
  9. CXXFLAGS= -DGTK -DSCI_LEXER -W -Wall
  10. LEXEROBJS=$(wildcard ../scintilla/gtk/Lex*.o)
  11.  
  12. all: bait
  13.  
  14. .c.o:
  15. gcc `pkg-config --cflags --libs gtk+-3.0` $(INCLUDEDIRS) $(CXXFLAGS) -c $< -o $@
  16. bait: bait.o $(LEXEROBJS) ../scintilla/bin/scintilla.a
  17. gcc -DGTK $^ -o $@ -lstdc++ `pkg-config --libs gtk+-3.0 gobject-2.0 gmodule-no-export-2.0` -lm
  18. clean:
  19. rm -rf bait *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement