diff --git a/Makefile b/Makefile index 5f198b0..7711da6 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,6 @@ PREFIX=/usr/bin/cd_check/ BUILDDIR=bin/ SRCDIR=src/ -#Makes everything all: mkdir -p $(BUILDDIR) 2> /dev/null || true cc $(CFLAGS) $(SRCDIR)cd_check_eject.c -o $(BUILDDIR)cd_check_eject @@ -12,15 +11,12 @@ all: cc $(CFLAGS) $(SRCDIR)cd_check_read_toc.c -o $(BUILDDIR)cd_check_read_toc cc $(CFLAGS) $(SRCDIR)cd_check_read.c -o $(BUILDDIR)cd_check_read -#Uses picky extensions and makes everything(Extensions may break compiling) dev: make all CFLAGS+="-Wshadow -Wunreachable-code -Wswitch-enum -Wswitch-default -Wcast-align -Winit-self -Wpointer-arith -Weffc++" -#Cleans directory(no uninstall!) clean: rm -rf $(BUILDDIR) -#Installs into specified(or default) directory install: install -d $(PREFIX) install $(BUILDDIR)cd_check_eject $(PREFIX)cd_check_eject @@ -28,6 +24,5 @@ install: install $(BUILDDIR)cd_check_read_toc $(PREFIX)cd_check_read_toc install $(BUILDDIR)cd_check_read $(PREFIX)cd_check_read -#Uninstalls from specified(or default)directory uninstall: rm -rf $(PREFIX)