re-group demos and really build everything in 'all' target

This commit is contained in:
Steffen Jaeckel 2017-07-14 12:18:18 +02:00
parent 22c13b49d8
commit bffaab4eed
3 changed files with 16 additions and 15 deletions

View file

@ -61,9 +61,6 @@ uninstall: .common_uninstall
test: $(LIBNAME) $(TOBJECTS)
$(LT) --mode=link --tag=CC $(CC) $(LTC_CFLAGS) $(CPPFLAGS) $(LTC_LDFLAGS) -o $(TEST) $(TOBJECTS) $(LIBNAME) $(EXTRALIBS)
timing: $(TIMINGS) $(LIBNAME)
$(LT) --mode=link --tag=CC $(CC) $(LTC_CFLAGS) $(CPPFLAGS) $(LTC_LDFLAGS) -o $(TIMING) $^ $(EXTRALIBS)
# build the demos from a template
define DEMO_template
$(1): demos/$(1).o $$(LIBNAME)