Skip to content
Permalink
Browse files

Fix comments in Makefile

  • Loading branch information
decke committed Aug 28, 2018
1 parent d734517 commit dc04fe3da50197ed498afaa88c207714ee1836ff
Showing with 2 additions and 4 deletions.
  1. +2 −4 Makefile
@@ -6,19 +6,17 @@ CC ?= cc
CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -maes
LDFLAGS += -static

VERSION = 1.1

# add git revision if .git exists
ifeq (,$(wildcard .git))
CFLAGS += -DREVISION="unknown"
else
CFLAGS += -DREVISION="$(shell git rev-parse --short HEAD)"
endif

# for release
# optimizations
CFLAGS += -Ofast -march=native

# we need to link to libc/msvcrt
# malloc implementation and link to libc/msvcrt
ifeq ($(OS),Windows_NT)
CFLAGS += -DHAVE__ALIGNED_MALLOC
LDFLAGS += -lmsvcrt

0 comments on commit dc04fe3

Please sign in to comment.
You can’t perform that action at this time.