Browse Source

Improve version handling

tags/v1.0
Bernhard Fröhlich 5 years ago
parent
commit
71c6a92522
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Makefile

+ 3
- 3
Makefile View File

@@ -9,6 +9,7 @@ INSTALL	= install -c
9 9
 STRIP	= strip
10 10
 PREFIX	= /usr/local
11 11
 BINDIR	= $(PREFIX)/bin
12
+VERSION	= 1.0-beta
12 13
 
13 14
 # add git revision if .git exists
14 15
 ifeq (,$(wildcard .git))
@@ -30,14 +31,13 @@ endif
30 31
 ifeq ($(OS),Windows_NT)
31 32
 CFLAGS += -DHAVE__ALIGNED_MALLOC
32 33
 LDFLAGS	+= -lmsvcrt
34
+RELDIR	= drmdecrypt-$(VERSION)-win
33 35
 else
34 36
 CFLAGS += -DHAVE_POSIX_MEMALIGN
35 37
 LDFLAGS	+= -lc
38
+RELDIR	= drmdecrypt-$(VERSION)
36 39
 endif
37 40
 
38
-# Release defines
39
-RELDIR	= drmdecrypt-1.0
40
-
41 41
 ##########################
42 42
 
43 43
 SRC	= AES.c AESNI.c drmdecrypt.c

Loading…
Cancel
Save