mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
fixes so "make clean" will work without failing on cmd.exe
This commit is contained in:
parent
1ce044c2b4
commit
0408d71cc5
@ -5,6 +5,16 @@ ifdef CROSS_COMPILE
|
||||
$(info CC: $(CC))
|
||||
endif
|
||||
|
||||
ifneq ($(shell echo),)
|
||||
CMD_EXE = 1
|
||||
endif
|
||||
|
||||
ifdef CMD_EXE
|
||||
DEL = -del /f
|
||||
else
|
||||
DEL = $(RM)
|
||||
endif
|
||||
|
||||
CFLAGS += -O3 -Wall -Wextra -Wno-char-subscripts $(USER_CFLAGS)
|
||||
|
||||
.PHONY: mostlyclean clean
|
||||
@ -15,6 +25,6 @@ ataricvt: ataricvt.c
|
||||
$(CC) $(CFLAGS) -o ataricvt ataricvt.c
|
||||
|
||||
mostlyclean clean:
|
||||
$(RM) ataricvt
|
||||
$(DEL) ataricvt
|
||||
|
||||
install zip:
|
||||
|
@ -5,6 +5,16 @@ ifdef CROSS_COMPILE
|
||||
$(info CC: $(CC))
|
||||
endif
|
||||
|
||||
ifneq ($(shell echo),)
|
||||
CMD_EXE = 1
|
||||
endif
|
||||
|
||||
ifdef CMD_EXE
|
||||
DEL = -del /f
|
||||
else
|
||||
DEL = $(RM)
|
||||
endif
|
||||
|
||||
CFLAGS += -O3 -Wall -Wextra -Wno-char-subscripts $(USER_CFLAGS)
|
||||
|
||||
.PHONY: mostlyclean clean
|
||||
@ -15,6 +25,6 @@ gamate-fixcart: gamate-fixcart.c
|
||||
$(CC) $(CFLAGS) -o gamate-fixcart gamate-fixcart.c
|
||||
|
||||
mostlyclean clean:
|
||||
$(RM) gamate-fixcart
|
||||
$(DEL) gamate-fixcart
|
||||
|
||||
install zip:
|
||||
|
@ -5,6 +5,16 @@ ifdef CROSS_COMPILE
|
||||
$(info CC: $(CC))
|
||||
endif
|
||||
|
||||
ifneq ($(shell echo),)
|
||||
CMD_EXE = 1
|
||||
endif
|
||||
|
||||
ifdef CMD_EXE
|
||||
DEL = -del /f
|
||||
else
|
||||
DEL = $(RM)
|
||||
endif
|
||||
|
||||
CFLAGS += -O3 -Wall -Wextra -Wno-char-subscripts $(USER_CFLAGS)
|
||||
|
||||
.PHONY: mostlyclean clean
|
||||
@ -22,6 +32,6 @@ deflater: deflater.c
|
||||
$(CC) $(CFLAGS) -o deflater deflater.c -lz
|
||||
|
||||
mostlyclean clean:
|
||||
$(RM) deflater
|
||||
$(DEL) deflater
|
||||
|
||||
install zip:
|
||||
|
Loading…
Reference in New Issue
Block a user