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:
parent
dfc3f77c35
commit
8bc886ee1e
1 changed files with 2 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue