windows/Makefile: Make use of CFLAGS_EXTRA, LDFLAGS_EXTRA and SRC_MOD.
To be consistent with the unix port.
This commit is contained in:
parent
e9af6f5f88
commit
380048df64
|
@ -15,8 +15,8 @@ INC += -I$(TOP)
|
|||
INC += -I$(BUILD)
|
||||
|
||||
# compiler settings
|
||||
CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -std=gnu99 -DUNIX -D__USE_MINGW_ANSI_STDIO=1 $(CFLAGS_MOD) $(COPT)
|
||||
LDFLAGS = $(LDFLAGS_MOD) -lm
|
||||
CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -std=gnu99 -DUNIX -D__USE_MINGW_ANSI_STDIO=1 $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA)
|
||||
LDFLAGS = $(LDFLAGS_MOD) -lm $(LDFLAGS_EXTRA)
|
||||
|
||||
# Debugging/Optimization
|
||||
ifdef DEBUG
|
||||
|
@ -40,6 +40,7 @@ SRC_C = \
|
|||
realpath.c \
|
||||
init.c \
|
||||
sleep.c \
|
||||
$(SRC_MOD)
|
||||
|
||||
OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
|
||||
|
||||
|
|
Loading…
Reference in New Issue