Makefile update.
parent
773703a234
commit
18c763eed3
44
Makefile
44
Makefile
|
@ -10,7 +10,7 @@ INCLUDEDIR := $(PREFIX)/include
|
|||
CC := cc
|
||||
AR := ar
|
||||
RANLIB := ranlib
|
||||
CFLAGS := -O2 -Wall -Wextra -Wshadow -ansi -pedantic -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199309L
|
||||
CFLAGS := -O2 -Wall -Wextra -Wshadow -ansi -pedantic -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L
|
||||
LDFLAGS :=
|
||||
|
||||
Q := @
|
||||
|
@ -284,33 +284,33 @@ help:
|
|||
@echo '[01;37m :: perfect-os-junk-0.0.1[00m'
|
||||
@echo ''
|
||||
@echo '[01;37mGeneric targets:[00m'
|
||||
@echo '[00m - [01;32mhelp [37mPrints this help message.[00m'
|
||||
@echo '[00m - [01;32mall [37mBuilds all targets.[00m'
|
||||
@echo '[00m - [01;32mdist [37mCreates tarballs of the files of the project.[00m'
|
||||
@echo '[00m - [01;32minstall [37mInstalls the project.[00m'
|
||||
@echo '[00m - [01;32mclean [37mRemoves compiled files.[00m'
|
||||
@echo '[00m - [01;32muninstall [37mDeinstalls the project.[00m'
|
||||
@echo '[00m - [01;32mhelp [37m Prints this help message.[00m'
|
||||
@echo '[00m - [01;32mall [37m Builds all targets.[00m'
|
||||
@echo '[00m - [01;32mdist [37m Creates tarballs of the files of the project.[00m'
|
||||
@echo '[00m - [01;32minstall [37m Installs the project.[00m'
|
||||
@echo '[00m - [01;32mclean [37m Removes compiled files.[00m'
|
||||
@echo '[00m - [01;32muninstall [37m Deinstalls the project.[00m'
|
||||
@echo ''
|
||||
@echo '[01;37mCLI-modifiable variables:[00m'
|
||||
@echo ' - [01;34mCC [37m${CC}[00m'
|
||||
@echo ' - [01;34mCFLAGS [37m${CFLAGS}[00m'
|
||||
@echo ' - [01;34mLDFLAGS [37m${LDFLAGS}[00m'
|
||||
@echo ' - [01;34mDESTDIR [37m${DESTDIR}[00m'
|
||||
@echo ' - [01;34mPREFIX [37m${PREFIX}[00m'
|
||||
@echo ' - [01;34mBINDIR [37m${BINDIR}[00m'
|
||||
@echo ' - [01;34mLIBDIR [37m${LIBDIR}[00m'
|
||||
@echo ' - [01;34mSHAREDIR [37m${SHAREDIR}[00m'
|
||||
@echo ' - [01;34mINCLUDEDIR [37m${INCLUDEDIR}[00m'
|
||||
@echo ' - [01;34mCC [37m ${CC}[00m'
|
||||
@echo ' - [01;34mCFLAGS [37m ${CFLAGS}[00m'
|
||||
@echo ' - [01;34mLDFLAGS [37m ${LDFLAGS}[00m'
|
||||
@echo ' - [01;34mDESTDIR [37m ${DESTDIR}[00m'
|
||||
@echo ' - [01;34mPREFIX [37m ${PREFIX}[00m'
|
||||
@echo ' - [01;34mBINDIR [37m ${BINDIR}[00m'
|
||||
@echo ' - [01;34mLIBDIR [37m ${LIBDIR}[00m'
|
||||
@echo ' - [01;34mSHAREDIR [37m ${SHAREDIR}[00m'
|
||||
@echo ' - [01;34mINCLUDEDIR [37m ${INCLUDEDIR}[00m'
|
||||
@echo ''
|
||||
@echo '[01;37mProject targets: [00m'
|
||||
@echo ' - [01;33mlibposj [37mlibrary[00m'
|
||||
@echo ' - [01;33mpingpong/pingpong[37mbinary[00m'
|
||||
@echo ' - [01;33mpubsub/pubsub [37mbinary[00m'
|
||||
@echo ' - [01;33mpubsub/pubsub-test-send[37mbinary[00m'
|
||||
@echo ' - [01;33mlibposj [37m library[00m'
|
||||
@echo ' - [01;33mpingpong/pingpong[37m binary[00m'
|
||||
@echo ' - [01;33mpubsub/pubsub [37m binary[00m'
|
||||
@echo ' - [01;33mpubsub/pubsub-test-send[37m binary[00m'
|
||||
@echo ''
|
||||
@echo '[01;37mMakefile options:[00m'
|
||||
@echo ' - gnu: true'
|
||||
@echo ' - colors: true'
|
||||
@echo ' - gnu: true'
|
||||
@echo ' - colors: true'
|
||||
@echo ''
|
||||
@echo '[01;37mRebuild the Makefile with:[00m'
|
||||
@echo ' zsh ./build.zsh -c -g'
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
package=perfect-os-junk
|
||||
version=0.0.1
|
||||
|
||||
CFLAGS="-O2 -Wall -Wextra -Wshadow -ansi -pedantic -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199309L"
|
||||
CFLAGS="-O2 -Wall -Wextra -Wshadow -ansi -pedantic -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L"
|
||||
|
||||
targets=(libposj)
|
||||
type[libposj]=library
|
||||
|
|
Reference in New Issue