mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
Normalized coding style.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5888 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
a3c940e315
commit
635f22c058
@ -19,7 +19,7 @@ CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
|
|||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Rules
|
# Rules
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@$(CC) $(CFLAGS) $<
|
@$(CC) $(CFLAGS) $<
|
||||||
@$(AS) -o $@ $(AFLAGS) $(*).s
|
@$(AS) -o $@ $(AFLAGS) $(*).s
|
||||||
|
|
||||||
@ -29,20 +29,19 @@ CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
|
|||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Object files
|
# Object files
|
||||||
|
|
||||||
C_OBJS =
|
C_OBJS=
|
||||||
|
|
||||||
S_OBJS = crt0.o \
|
S_OBJS= crt0.o \
|
||||||
ctype.o
|
ctype.o
|
||||||
|
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Targets
|
# Targets
|
||||||
|
|
||||||
.PHONY: all clean zap
|
.PHONY: all clean zap
|
||||||
|
|
||||||
all: $(C_OBJS) $(S_OBJS)
|
all: $(C_OBJS) $(S_OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@$(RM) $(C_OBJS:.c=.s) $(C_OBJS) $(S_OBJS)
|
@$(RM) $(C_OBJS:.c=.s) $(C_OBJS) $(S_OBJS)
|
||||||
|
|
||||||
zap: clean
|
zap: clean
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user