add LCC - a better C-Compiler for WEGA

This commit is contained in:
Oliver Lehmann 1990-08-22 17:22:41 +00:00
parent 3bff0b20ac
commit 33d7cb7a40
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
#
# makefile for libc/u8k/gen
#
SHELL=/bin/sh
CC=lcc
CFLAGS=-O
OBJECTS=\
abs.o cuexit.o setjmp.o malloc.o \
memccpy.o memchr.o memcmp.o memcpy.o \
memset.o strtok.o \
strcat.o strchr.o strcmp.o strcpy.o \
strcspn.o strlen.o strncat.o strncmp.o \
strncpy.o strpbrk.o strrchr.o strspn.o
all: $(OBJECTS)
#-------------------------
.s.o:
@echo $*.s:
$(CC) $(CFLAGS) -c $*.s
.c.o:
@echo $*.c:
$(CC) $(CFLAGS) -c $*.c