diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 26 |
1 files changed, 23 insertions, 3 deletions
@@ -1,5 +1,25 @@ -CFLAGS += -Wall +# Makefile for cue-bin-split -all: split +.POSIX: +include config.mk -split: split.c +OBJECTS = cue-bin-split.o +CFLAGS += -Wall -Werror + + +all: cue-bin-split + +cue-bin-split: $(OBJECTS) + $(CC) -o $(EXEC_NAME) $< $(LDFLAGS) + +%.o: %.c + $(CC) -c -o $@ $< $(CFLAGS) + + +clean: + rm -f cue-bin-split + +distclean: clean + rm -f *.o + +.PHONY: all clean |