filters/gp_filter_resize_alloc: Check w and h
[gfxprim.git] / demos / c_simple / Makefile
blobf12f491b7fcf0a32f55f5df530934f03f135ac2e
1 TOPDIR=../..
2 include $(TOPDIR)/pre.mk
4 SOURCES=$(shell echo *.c)
6 ifneq ($(HAVE_LIBSDL),yes)
7 CSOURCES=$(filter-out SDL_glue.c,$(SOURCES))
8 else
9 CSOURCES=$(SOURCES)
10 endif
12 INCLUDE=
13 LDLIBS+=-lrt -lgfxprim
15 APPS=backend_example loaders_example loaders filters_symmetry gfx_koch\
16 virtual_backend_example meta_data showimage\
17 v4l2_show v4l2_grab convolution weighted_median shapetest koch \
18 input_example fileview linetest randomshapetest fonttest\
19 loaders_register blittest textaligntest x11_windows\
20 debug_handler gaussian_noise version pretty_print timers\
21 zip_container backend_timers_example memory_io data_storage
23 ifeq ($(HAVE_LIBSDL),yes)
24 APPS+=SDL_glue
26 SDL_glue: LDLIBS+=$(shell sdl-config --libs) -lgfxprim-backends
27 endif
29 showimage: LDLIBS+=-lgfxprim-backends -lgfxprim-loaders
30 backend_example: LDLIBS+=-lgfxprim-backends
31 backend_timers_example: LDLIBS+=-lgfxprim-backends
32 virtual_backend_example: LDLIBS+=-lgfxprim-backends -lm
33 loaders_example: LDLIBS+=-lgfxprim-loaders
34 loaders: LDLIBS+=-lgfxprim-loaders
35 filters_symmetry: LDLIBS+=-lgfxprim-loaders
36 gfx_koch: LDLIBS+=-lgfxprim-loaders -lm
37 meta_data: LDLIBS+=-lgfxprim-loaders
38 v4l2_show: LDLIBS+=-lgfxprim-grabbers -lgfxprim-backends
39 v4l2_grab: LDLIBS+=-lgfxprim-grabbers -lgfxprim-loaders
40 convolution: LDLIBS+=-lgfxprim-loaders
41 weighted_median: LDLIBS+=-lgfxprim-loaders
42 shapetest: LDLIBS+=-lgfxprim-backends
43 koch: LDLIBS+=-lgfxprim-backends -lm
44 input_example: LDLIBS+=-lgfxprim-backends
45 fileview: LDLIBS+=-lgfxprim-backends
46 linetest: LDLIBS+=-lgfxprim-backends -lm
47 randomshapetest: LDLIBS+=-lgfxprim-backends
48 fonttest: LDLIBS+=-lgfxprim-backends
49 textaligntest: LDLIBS+=-lgfxprim-backends
50 loaders_register: LDLIBS+=-lgfxprim-loaders
51 gaussian_noise: LDLIBS+=-lgfxprim-loaders
52 blittest: LDLIBS+=-lgfxprim-backends -lgfxprim-loaders
53 x11_windows: LDLIBS+=-lgfxprim-backends
54 zip_container: LDLIBS+=-lgfxprim-loaders -lgfxprim-backends
55 memory_io: LDLIBS+=-lgfxprim-backends -lgfxprim-loaders
56 data_storage: LDLIBS+=-lgfxprim-loaders
58 include $(TOPDIR)/app.mk
59 include $(TOPDIR)/post.mk