OBJECTS = \ cue-bin-split.o \ misc.o CFLAGS += -Wall -Werror all: cue-bin-split cue-bin-split: $(OBJECTS) $(CC) -o $@ $^ $(LDFLAGS) %.o: %.c %.h $(CC) -c -o $@ $< $(CFLAGS) test: all @./test/run-tests.sh clean: rm -vf cue-bin-split *.o .PHONY: all clean test