loaders: BMP loader, fix 24 BPP, add 1 BPP todo: palettes
[gfxprim.git] / app.mk
blob460ebf7256a680484e6ca0aacf5a08dae1e09c88
1 ifndef APPS
2 $(error APPS not defined, fix your library Makefile)
3 endif
5 LDLIBS+=-lm -ldl
7 all: $(APPS)
9 CLEAN+=$(APPS)
11 %: %.o
12 ifdef VERBOSE
13 $(CC) $(CFLAGS) $(LDFLAGS) -Wl,--start-group $(LDLIBS) $^ -Wl,--end-group -o $@
14 else
15 @echo "LD $@"
16 @$(CC) $(CFLAGS) $(LDFLAGS) -Wl,--start-group $(LDLIBS) $^ -Wl,--end-group -o $@
17 endif