annotate inkscape/firefox/template/textmenu/Makefile @ 1535:9aff42a7e2b9 tip

Fix issue of add/remove a frame at a scene before all key frames of a layer. When you added or removed a frame at a scene before all key frames of a layer, frameline was not updated correctly. It seems nothing happened, but domview is updated. This changeset fix this issue by correcting logic for boundary case.
author Thinker K.F. Li <thinker@codemud.net>
date Fri, 30 Sep 2011 22:07:28 +0800
parents 7d244a85dd68
children
rev   line source
376
7d244a85dd68 Change the screen layout to make it more like an usual IDE.
wycc
parents: 371
diff changeset
1 SRC=main.c %n.c
371
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
2 OBJ=$(SRC:.c=.o)
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
3 CFLAGS+=`pkg-config --cflags libmbfly` `pkg-config --cflags pangocairo`
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
4 LDFLAGS=`pkg-config --libs libmbfly`
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
5
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
6 .c.o:
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
7 $(CC) $(CFLAGS) -c -o $@ $<
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
8
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
9 %.so:%.mbsvg
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
10 svg2code.py $< $(<:.mbsvg=.mb)
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
11 m4 -I /usr/local/share/mb mb_c_header.m4 $(<:.mbsvg=.mb) > $(<:.mbsvg=.h)
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
12 m4 -I /usr/local/share/mb mb_c_source.m4 $(<:.mbsvg=.mb) > $(<:.mbsvg=.c)
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
13 $(CC) $(CFLAGS) -I../../include -I ../../include -shared -o $@ $(<:.mbsvg=.c)
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
14
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
15 all: list.so textmenu
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
16
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
17 textmenu : $(OBJ)
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
18 $(CC) -o textmenu $(LDFLAGS) $(OBJ)