diff options
author | JozanLeClerc <JozanLeClerc@noemail.net> | 2020-11-25 22:00:38 +0000 |
---|---|---|
committer | JozanLeClerc <JozanLeClerc@noemail.net> | 2020-11-25 22:00:38 +0000 |
commit | 2a065f48ecefe46ebd7689f4adc9db277fb8ad33 (patch) | |
tree | 0043ee3db0866b5bcec40c26bf98c57dcb30e7c7 /Makefile | |
parent | Starting C (diff) | |
download | bsdsetsid-2a065f48ecefe46ebd7689f4adc9db277fb8ad33.tar.gz bsdsetsid-2a065f48ecefe46ebd7689f4adc9db277fb8ad33.tar.bz2 bsdsetsid-2a065f48ecefe46ebd7689f4adc9db277fb8ad33.tar.xz bsdsetsid-2a065f48ecefe46ebd7689f4adc9db277fb8ad33.tar.zst bsdsetsid-2a065f48ecefe46ebd7689f4adc9db277fb8ad33.zip |
C version in progress
FossilOrigin-Name: c143b7b33eed96b1183129105594fb8e74d1e0cb
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -30,9 +30,11 @@ SRCS := ${SRCS:S/^/${SRCS_DIR}/g} OBJS := ${SRCS:=.o} +INCS := ${SRCS:.c=.h} + NAME := bsdsetsid -CFLAGS += -std=c89 +CFLAGS = -std=c89 CFLAGS += -Wall CFLAGS += -Wextra CFLAGS += -Werror @@ -44,7 +46,7 @@ MKDIR := mkdir -p .OBJDIR: ./ .SUFFIXES: .c.o .c -.c.c.o: +.c.c.o: ${INCS} ${CC} -c ${CFLAGS} -o ${.TARGET:S/src/obj/} ${.IMPSRC} ${OBJS_DIR}: |