Removed unnecessary comments from Makefile(who even reads those?)
This commit is contained in:
5
Makefile
5
Makefile
@@ -4,7 +4,6 @@ PREFIX=/usr/bin/cd_check/
|
|||||||
BUILDDIR=bin/
|
BUILDDIR=bin/
|
||||||
SRCDIR=src/
|
SRCDIR=src/
|
||||||
|
|
||||||
#Makes everything
|
|
||||||
all:
|
all:
|
||||||
mkdir -p $(BUILDDIR) 2> /dev/null || true
|
mkdir -p $(BUILDDIR) 2> /dev/null || true
|
||||||
cc $(CFLAGS) $(SRCDIR)cd_check_eject.c -o $(BUILDDIR)cd_check_eject
|
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_toc.c -o $(BUILDDIR)cd_check_read_toc
|
||||||
cc $(CFLAGS) $(SRCDIR)cd_check_read.c -o $(BUILDDIR)cd_check_read
|
cc $(CFLAGS) $(SRCDIR)cd_check_read.c -o $(BUILDDIR)cd_check_read
|
||||||
|
|
||||||
#Uses picky extensions and makes everything(Extensions may break compiling)
|
|
||||||
dev:
|
dev:
|
||||||
make all CFLAGS+="-Wshadow -Wunreachable-code -Wswitch-enum -Wswitch-default -Wcast-align -Winit-self -Wpointer-arith -Weffc++"
|
make all CFLAGS+="-Wshadow -Wunreachable-code -Wswitch-enum -Wswitch-default -Wcast-align -Winit-self -Wpointer-arith -Weffc++"
|
||||||
|
|
||||||
#Cleans directory(no uninstall!)
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(BUILDDIR)
|
rm -rf $(BUILDDIR)
|
||||||
|
|
||||||
#Installs into specified(or default) directory
|
|
||||||
install:
|
install:
|
||||||
install -d $(PREFIX)
|
install -d $(PREFIX)
|
||||||
install $(BUILDDIR)cd_check_eject $(PREFIX)cd_check_eject
|
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_toc $(PREFIX)cd_check_read_toc
|
||||||
install $(BUILDDIR)cd_check_read $(PREFIX)cd_check_read
|
install $(BUILDDIR)cd_check_read $(PREFIX)cd_check_read
|
||||||
|
|
||||||
#Uninstalls from specified(or default)directory
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -rf $(PREFIX)
|
rm -rf $(PREFIX)
|
||||||
|
Reference in New Issue
Block a user