root / Makefile @ 0:3c15de202295
History | View | Annotate | Download (1.38 KB)
1 | 0:3c15de202295 | ee11d037 | CC = /opt/montavista/pro/devkit/arm/xscale_le/bin/arm-linux-gcc |
---|---|---|---|
2 | |||
3 | STRIP = /opt/montavista/pro/devkit/arm/xscale_le/bin/arm-linux-strip |
||
4 | |||
5 | GTK2_CFLAGS = -I/opt/montavista/pro/devkit/arm/xscale_le/target/usr/gtk2.4-14/include/gtk-2.0 -I/opt/montavista/pro/devkit/arm/xscale_le/target/usr/gtk2.4-14/lib/gtk-2.0/include -I/opt/montavista/pro/devkit/arm/xscale_le/target/usr/root/usr/X11R6/include -I/opt/montavista/pro/devkit/arm/xscale_le/target/usr/gtk2.4-14/include/atk-1.0 -I/opt/montavista/pro/devkit/arm/xscale_le/target/usr/gtk2.4-14/include/pango-1.0 -I/opt/montavista/pro/devkit/arm/xscale_le/target/usr/include -I/opt/montavista/pro/devkit/arm/xscale_le/target/usr/include/freetype2 -I/opt/montavista/pro/devkit/arm/xscale_le/target/usr/gtk2.4-14/include/glib-2.0 -I/opt/montavista/pro/devkit/arm/xscale_le/target/usr/gtk2.4-14/lib/glib-2.0/include |
||
6 | |||
7 | GTK2_LIBS = -Wl,--export-dynamic -L/opt/montavista/pro/devkit/arm/xscale_le/target/usr/gtk2.4-14/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -liconv -lgthread-2.0 |
||
8 | |||
9 | LIBS = -L/opt/montavista/pro/devkit/arm/xscale_le/target/usr/root/usr/X11R6/lib -lX11 -lXext -lXrender |
||
10 | |||
11 | all: hope strip |
||
12 | |||
13 | hope: main.c |
||
14 | $(CC) $(GTK2_CFLAGS) $(GTK2_LIBS) $(LIBS) main.c hope.c serial-event.c config.c -o hopemv |
||
15 | strip: |
||
16 | $(STRIP) hopemv |
||
17 | |||
18 | clean: |
||
19 | rm -f *.o hopemv |