mirror of
https://github.com/ZDoom/acc.git
synced 2025-03-02 23:12:24 +00:00
- Bio Hazard's ACC tweaks:
* Change CC, CFLAGS, and LDFLAGS assignment operators to ?=. * Add /usr/local/share/acc as a predefined include path on Unix systems. SVN r3185 (trunk)
This commit is contained in:
parent
9c81b93bce
commit
2acd56bf73
2 changed files with 6 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -4,7 +4,7 @@ target = $(strip $(shell $(CC) -dumpmachine))
|
|||
# DOS and Windows executables should have the .exe extension.
|
||||
# Other operating systems should be extension-less.
|
||||
|
||||
CC = gcc
|
||||
CC ?= gcc
|
||||
|
||||
ifeq ($(findstring mingw32,$(target)),mingw32)
|
||||
EXENAME = acc.exe
|
||||
|
@ -16,8 +16,8 @@ EXENAME = acc
|
|||
endif
|
||||
endif
|
||||
|
||||
CFLAGS = -Os -Wall -W -fomit-frame-pointer
|
||||
LDFLAGS = -s
|
||||
CFLAGS ?= -Os -Wall -W -fomit-frame-pointer
|
||||
LDFLAGS ?= -s
|
||||
VERNUM = 150
|
||||
|
||||
OBJS = \
|
||||
|
|
3
acc.c
3
acc.c
|
@ -244,6 +244,9 @@ static void ProcessArgs(void)
|
|||
}
|
||||
|
||||
TK_AddIncludePath(".");
|
||||
#ifdef unix
|
||||
TK_AddIncludePath("/usr/local/share/acc/");
|
||||
#endif
|
||||
TK_AddProgramIncludePath(ArgVector[0]);
|
||||
|
||||
if(count == 1)
|
||||
|
|
Loading…
Reference in a new issue