Merge ssh://192.168.1.1/home/metan/Devel/gfxprim into generate
[gfxprim.git] / app.mk
blob4c90884867bec99f01c23f117536c933c3fb30f1
1 ifndef APPS
2 $(error APPS not defined, fix your library Makefile)
3 endif
5 all: $(APPS)
7 CLEAN+=$(APPS)
9 %: %.o
10 ifdef VERBOSE
11 $(CC) $(CFLAGS) $(LDFLAGS) -Wl,--start-group $(LDLIBS) $^ -Wl,--end-group -o $@
12 else
13 @echo "LD $@"
14 @$(CC) $(CFLAGS) $(LDFLAGS) -Wl,--start-group $(LDLIBS) $^ -Wl,--end-group -o $@
15 endif