Skip to content

Commit

Permalink
reorder makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonev committed Sep 7, 2021
1 parent e8bda6c commit ba160f0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile.main
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ INSTALL?=install

VER=$(shell grep Revision yascreen.c|head -n1|sed -e 's/.\+Revision: \([0-9.]\+\) \+.\+/\1/'|tr . ' '|awk '{printf "%i.%02u\n",$$1+$$2/100,$$2%100}')

# shared library version

SOVERM:=0
SOVERF:=0.0.0

# change options based on flto configuration

ifndef NO_FLTO
Expand Down Expand Up @@ -61,11 +66,6 @@ CCOPT:=-Wall -Wextra -I. --std=gnu89
LDOPT:=
endif

# shared library version

SOVERM:=0
SOVERF:=0.0.0

# allow to pass additional compiler flags

MYCFLAGS=$(DEBUG) $(CPPFLAGS) $(CFLAGS) $(CCOPT)
Expand Down

0 comments on commit ba160f0

Please sign in to comment.