diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2016-10-01 12:33:46 -0400 |
---|---|---|
committer | Taylor Holberton <taylorcholberton@gmail.com> | 2016-10-01 12:33:46 -0400 |
commit | b88fd4ff9c6ae7af26c81b6fee069dc90ef2707d (patch) | |
tree | 9b4aff781116b8c812bcf7c7a70c9581b7c56fae /Makefile | |
parent | c01d4a386cfc5997f877ae44712ea6304e8756bd (diff) |
put programs into utils dir
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 4 insertions, 15 deletions
@@ -8,19 +8,8 @@ CROSS_COMPILE = PREFIX = /usr/local .PHONY: all -all: $(LIB) $(SHLIB) tinyplay tinycap tinymix tinypcminfo - -tinyplay: $(SHLIB) tinyplay.o - $(CROSS_COMPILE)$(CC) $(LDFLAGS) tinyplay.o -L. -ltinyalsa -o tinyplay - -tinycap: $(SHLIB) tinycap.o - $(CROSS_COMPILE)$(CC) $(LDFLAGS) tinycap.o -L. -ltinyalsa -o tinycap - -tinymix: $(SHLIB) tinymix.o - $(CROSS_COMPILE)$(CC) $(LDFLAGS) tinymix.o -L. -ltinyalsa -o tinymix - -tinypcminfo: $(SHLIB) tinypcminfo.o - $(CROSS_COMPILE)$(CC) $(LDFLAGS) tinypcminfo.o -L. -ltinyalsa -o tinypcminfo +all: $(LIB) $(SHLIB) + $(MAKE) -C utils $(SHLIB): $(OBJECTS) $(CROSS_COMPILE)$(CC) $(LDFLAGS) -shared $(OBJECTS) -o $(SHLIB) @@ -33,8 +22,8 @@ $(LIB): $(OBJECTS) .PHONY: clean clean: - -rm $(LIB) $(SHLIB) $(OBJECTS) tinyplay.o tinyplay tinycap.o tinycap \ - tinymix.o tinymix tinypcminfo.o tinypcminfo + -rm $(LIB) $(SHLIB) $(OBJECTS) + $(MAKE) -C utils clean .PHONY: install install: $(LIB) $(SHLIB) |