mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
evil hack, but can build from "make dist" again
This commit is contained in:
parent
410783025e
commit
4bc167c5aa
2 changed files with 16 additions and 6 deletions
|
@ -160,9 +160,14 @@ CLEANFILES = *.i *.s $(YACCLEX_CLEANFILES)
|
|||
|
||||
sys_sdl.o: sys_sdl.c
|
||||
@echo '$(COMPILE) $(SDL_CFLAGS) -c $<'; \
|
||||
$(COMPILE) $(SDL_CFLAGS) -Wp,-MD,.deps/$(*F).pp -c $<
|
||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
||||
if test -d .deps; then \
|
||||
$(COMPILE) $(SDL_CFLAGS) -Wp,-MD,.deps/$(*F).pp -c $<; \
|
||||
else \
|
||||
$(COMPILE) $(SDL_CFLAGS) -c $<; \
|
||||
fi
|
||||
@-if test -d .deps; then cp .deps/$(*F).pp .deps/$(*F).P; \
|
||||
tr ' ' '\012' < .deps/$(*F).pp \
|
||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
||||
>> .deps/$(*F).P; \
|
||||
rm .deps/$(*F).pp
|
||||
rm .deps/$(*F).pp; \
|
||||
fi
|
||||
|
|
|
@ -175,9 +175,14 @@ CLEANFILES = *.i *.s $(YACCLEX_CLEANFILES)
|
|||
|
||||
cl_sys_sdl.o: cl_sys_sdl.c
|
||||
@echo '$(COMPILE) $(SDL_CFLAGS) -c $<'; \
|
||||
$(COMPILE) $(SDL_CFLAGS) -Wp,-MD,.deps/$(*F).pp -c $<
|
||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
||||
if test -d .deps; then \
|
||||
$(COMPILE) $(SDL_CFLAGS) -Wp,-MD,.deps/$(*F).pp -c $<; \
|
||||
else \
|
||||
$(COMPILE) $(SDL_CFLAGS) -c $<; \
|
||||
fi
|
||||
@-if test -d .deps; then cp .deps/$(*F).pp .deps/$(*F).P; \
|
||||
tr ' ' '\012' < .deps/$(*F).pp \
|
||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
||||
>> .deps/$(*F).P; \
|
||||
rm .deps/$(*F).pp
|
||||
rm .deps/$(*F).pp; \
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue