|
|
@@ -1,5 +1,6 @@ |
|
|
|
# note that this file does not properly handle options |
|
|
|
|
|
|
|
|
|
|
|
PROGN:=probotic |
|
|
|
|
|
|
|
CFLAGS:=-std=c99 -Wall -Wextra -Wpedantic -Wvla -Wshadow -Wundef |
|
|
@@ -27,9 +28,7 @@ ifeq (${ENABLE_SSL},1) |
|
|
|
LDLIBS += -lssl -lcrypto |
|
|
|
endif |
|
|
|
|
|
|
|
all: include/config.h ${PROGN} |
|
|
|
|
|
|
|
${PROGN}: ${HDR} ${SRC} |
|
|
|
${PROGN}: include/config.h ${HDR} ${SRC} |
|
|
|
${LINK.c} -pipe ${LIB} src/unity.c -o $@ ${LDLIBS} |
|
|
|
|
|
|
|
# do nothing but update them... |
|
|
@@ -41,4 +40,4 @@ include/config.h: config.mk.h |
|
|
|
clean: |
|
|
|
-rm ${OBJ} |
|
|
|
|
|
|
|
.PHONY: all submodules clean |
|
|
|
.PHONY: clean |