mirror of
https://github.com/yquake2/zaero.git
synced 2024-11-21 19:41:07 +00:00
Fix Windows build
This commit is contained in:
parent
ac084046a8
commit
61b100d096
1 changed files with 2 additions and 8 deletions
10
Makefile
10
Makefile
|
@ -104,15 +104,9 @@ endif
|
|||
# ----------
|
||||
|
||||
# Cleanup
|
||||
ifeq ($(OSTYPE), Windows)
|
||||
clean:
|
||||
@echo "===> CLEAN"
|
||||
@-rmdir /S /Q release build
|
||||
else
|
||||
clean:
|
||||
@echo "===> CLEAN"
|
||||
${Q}rm -Rf build release
|
||||
endif
|
||||
|
||||
# ----------
|
||||
|
||||
|
@ -120,12 +114,12 @@ endif
|
|||
ifeq ($(OSTYPE), Windows)
|
||||
zaero:
|
||||
@echo "===> Building game.dll"
|
||||
${Q}tools/mkdir.exe -p release
|
||||
${Q}mkdir -p release
|
||||
${MAKE} release/game.dll
|
||||
|
||||
build/%.o: %.c
|
||||
@echo "===> CC $<"
|
||||
${Q}tools/mkdir.exe -p $(@D)
|
||||
${Q}mkdir -p $(@D)
|
||||
${Q}$(CC) -c $(CFLAGS) -o $@ $<
|
||||
else
|
||||
zaero:
|
||||
|
|
Loading…
Reference in a new issue