shithub: scc

ref: 6d3664ac10f50ea4ac3618404fa3522a226fbc81
dir: /cc1/Makefile/

View raw version
OBJS = types.o decl.o lex.o error.o symbol.o main.o expr.o \
	code.o stmt.o cpp.o

all: cc1

.POSIX:

$(OBJS) : cc1.h ../inc/cc.h ../inc/sizes.h

cc1: $(OBJS) ../lib/libcc.a
	$(CC) $(LDFLAGS) $(OBJS) ../lib/libcc.a -o $@

clean:
	rm -f $(OBJS)
	rm -f cc1