Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ CC=gcc

# -O3 -g
# -std=gnu11
CFLAGS=-Wall -g -std=gnu11 -pedantic -DUNIX_HOST -DVER=\"`git show-ref --abbrev=8 --head --hash head`\" -DTAG=\"`git describe --abbrev=0 --tags`\"
GIT_VER := $(shell git show-ref --abbrev=8 --head --hash head)
GIT_TAG := $(shell git describe --abbrev=0 --tags)
CFLAGS=-Wall -g -std=gnu11 -pedantic -DUNIX_HOST -DVER=\"${GIT_VER}\" -DTAG=\"${GIT_TAG}\"
LIBS=-lm -lreadline

TARGET = picoc
Expand Down