scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit a2bd26c6ebac0479dfe2240c5af3494cbb3e5f9e
parent fc1e7dfabe08378fbe519ea8885e836f685c984a
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sat, 27 Jun 2015 11:29:07 +0200

Simplify Makefile in cc1

Diffstat:
cc1/Makefile | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/cc1/Makefile b/cc1/Makefile @@ -2,14 +2,12 @@ OBJS = types.o decl.o lex.o error.o symbol.o main.o expr.o \ code.o stmt.o cpp.o -LIBS = -lcc - all: cc1 $(OBJS) : cc1.h ../inc/cc.h ../inc/sizes.h cc1: $(OBJS) ../lib/libcc.a - $(CC) -L../lib $(LDFLAGS) $(OBJS) $(LIBS) -o $@ + $(CC) $(LDFLAGS) $(OBJS) ../lib/libcc.a -o $@ clean: rm -f $(OBJS)