File: Makefile.testimreg

package info (click to toggle)
libgtkimreg 0.1.0-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 780 kB
  • ctags: 301
  • sloc: sh: 6,081; ansic: 2,525; makefile: 104
file content (13 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
NAME=testimreg

CFLAGS=-c -g -O2 -Wall `gtk-config --cflags` `imlib-config --cflags-gdk`
LDFLAGS=`gtk-config --libs` `imlib-config --libs-gdk` -s -lgtkimreg

$(NAME): $(NAME).o
$(NAME).o: $(NAME).c
	sed "s?\(#include \)\"\.\./gtk/\(gtkim.*\.h\)\"?\1<\2>?" $< > _$<
	mv _$< $<
	${CC} ${CFLAGS} $<

clean:
	rm -rf *.o *~