mirror of
https://github.com/cc65/cc65.git
synced 2025-01-15 22:30:04 +00:00
84706bd2d5
had to be replaced by calls to stat, because fileno is no longer available when forcing the compiler into pure c89 (or c99) mode. git-svn-id: svn://svn.cc65.org/cc65/trunk@3683 b7a2c559-68d2-44c3-8de9-860c34a00d81
37 lines
608 B
Makefile
37 lines
608 B
Makefile
#
|
|
# gcc Makefile for the program sources
|
|
#
|
|
|
|
CFLAGS = -g -O2 -Wall -std=c89
|
|
CC = gcc
|
|
LDFLAGS =
|
|
|
|
SUBDIRS = \
|
|
common \
|
|
ar65 \
|
|
ca65 \
|
|
cc65 \
|
|
cl65 \
|
|
co65 \
|
|
da65 \
|
|
grc \
|
|
ld65 \
|
|
od65
|
|
|
|
.PHONY: all
|
|
all:
|
|
for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak all || exit $$?; done
|
|
|
|
.PHONY: dist
|
|
dist:
|
|
for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak dist || exit $$?; done
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak clean || exit $$?; done
|
|
|
|
.PHONY: zap
|
|
zap:
|
|
for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak zap || exit $$?; done
|
|
|