mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
21 lines
295 B
Makefile
21 lines
295 B
Makefile
|
|
CC = $(CROSS_COMPILE)gcc
|
|
|
|
ifdef CROSS_COMPILE
|
|
$(info CC: $(CC))
|
|
endif
|
|
|
|
CFLAGS += -O3 -Wall -Wextra -Wno-char-subscripts $(USER_CFLAGS)
|
|
|
|
.PHONY: mostlyclean clean
|
|
|
|
atari: ataricvt
|
|
|
|
ataricvt: ataricvt.c
|
|
$(CC) $(CFLAGS) -o ataricvt ataricvt.c
|
|
|
|
mostlyclean clean:
|
|
$(RM) ataricvt
|
|
|
|
install zip:
|