1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

cleaned up Makefile

git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@210 8ec27952-4edc-4aab-86aa-e87bb2611832
This commit is contained in:
Steffen Vogel 2014-09-07 16:28:52 +00:00
parent dfc3f77c35
commit 8bc886ee1e

View file

@ -24,22 +24,18 @@ V ?= 2
GIT_TAG = $(shell git describe --tags --abbrev=0)
GIT_REV = $(shell git rev-parse --short HEAD)
# Compiler and Linker flags
# Compiler and linker flags
LDFLAGS = -pthread -lrt -lm -lconfig
CFLAGS = -g -std=c99 -Iinclude/ -MMD -Wall
CFLAGS += -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -DV=$(V)
CFLAGS += -D__GIT_REV__='"$(GIT_REV)"' -D__GIT_TAG__='"$(GIT_TAG)"'
CFLAGS += -fdiagnostics-color=auto
.PHONY: all clean doc
.PHONY: all clean
clean:
$(RM) *~ *.o *.d
$(RM) $(TARGETS)
doc:
$(DOXY)
$(MAKE) -C doc/latex
# Include auto-generated dependencies
-include $(wildcard *.d)