mirror of
https://github.com/rfivet/uemacs.git
synced 2025-02-20 23:17:13 -05:00
Review Link flags, striping output by default and omitting unnecessary defines.
This commit is contained in:
parent
b5047fac9b
commit
2babb94944
3
Makefile
3
Makefile
@ -28,6 +28,7 @@ PROGRAM=ue
|
||||
CC=gcc
|
||||
WARNINGS=-pedantic -Wall -Wextra -Wstrict-prototypes -Wno-unused-parameter
|
||||
CFLAGS=-O2 $(WARNINGS)
|
||||
LDFLAGS=-s
|
||||
LIBS=-lcurses
|
||||
DEFINES=-DAUTOCONF -DPROGRAM=$(PROGRAM)
|
||||
ifeq ($(uname_S),Linux)
|
||||
@ -60,7 +61,7 @@ LIBDIR=/usr/lib
|
||||
|
||||
$(PROGRAM): $(OBJ)
|
||||
$(E) " LINK " $@
|
||||
$(Q) $(CC) $(LDFLAGS) $(DEFINES) -o $@ $(OBJ) $(LIBS)
|
||||
$(Q) $(CC) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
|
||||
|
||||
SPARSE=sparse
|
||||
SPARSE_FLAGS=-D__LITTLE_ENDIAN__ -D__x86_64__ -D__linux__ -D__unix__
|
||||
|
Loading…
x
Reference in New Issue
Block a user