1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-24 10:06:30 -05:00

Align program name between Makefile and version.h

This commit is contained in:
Renaud 2013-06-08 10:23:23 +08:00
parent 006f89258e
commit a2804f6ca5
2 changed files with 9 additions and 2 deletions

View File

@ -39,7 +39,7 @@ ifeq ($(uname_S),Darwin)
DEFINES=-DAUTOCONF -DPOSIX -DSYSV -D_DARWIN_C_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600 DEFINES=-DAUTOCONF -DPOSIX -DSYSV -D_DARWIN_C_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600
endif endif
ifeq ($(uname_S),CYGWIN_NT-6.1-WOW64) ifeq ($(uname_S),CYGWIN_NT-6.1-WOW64)
DEFINES=-DAUTOCONF -DCYGWIN DEFINES=-DAUTOCONF -DCYGWIN -DPROGRAM=$(PROGRAM)
endif endif
#DEFINES=-DAUTOCONF #DEFINES=-DAUTOCONF
#LIBS=-ltermcap # BSD #LIBS=-ltermcap # BSD

View File

@ -1,7 +1,14 @@
#ifndef VERSION_H_ #ifndef VERSION_H_
#define VERSION_H_ #define VERSION_H_
#define PROGRAM_NAME "ue" #ifdef PROGRAM
# define _QUOTE( s) #s
# define QUOTE( s) _QUOTE( s)
# define PROGRAM_NAME QUOTE(PROGRAM)
#else
# define PROGRAM_NAME "em"
#endif
#define PROGRAM_NAME_LONG "uEMACS" #define PROGRAM_NAME_LONG "uEMACS"
#define VERSION "4.1.1" #define VERSION "4.1.1"