Added lintlib

This commit is contained in:
ceriel 1987-05-18 13:37:44 +00:00
parent b14dd671b5
commit 869e3bdc9a
3 changed files with 16 additions and 2 deletions

View file

@ -6,7 +6,8 @@ SRC = C_ms_err.c C_ms_opt.c C_ms_emx.c C_ms_reg.c C_ms_src.c\
C_ms_flt.c C_ms_com.c C_ms_par.c C_ms_ego.c C_ms_gto.c
OBJ = C_ms_err.o C_ms_opt.o C_ms_emx.o C_ms_reg.o C_ms_src.o\
C_ms_flt.o C_ms_com.o C_ms_par.o C_ms_ego.o C_ms_gto.o
CFLAGS=-I$(EMHOME)/h -I$(HDIR) -O
INCLUDES=-I$(EMHOME)/h -I$(HDIR)
CFLAGS = $(INCLUDES) -O
all: libem_mes.a
@ -31,3 +32,7 @@ opr:
clean:
rm -f *.[oa]
lintlib:
lint $(INCLUDES) -Cem_mes $(SRC)
mv llib-lem_mes.ln $(EMHOME)/modules/lib

View file

@ -33,3 +33,7 @@ opr:
clean:
rm -f *.[oa]
lintlib:
lint -Cinput AtEoIF.c AtEoIT.c
mv llib-linput.ln $(MODULES)/lib

View file

@ -2,7 +2,8 @@ EMHOME = ../../..
MODULES = $(EMHOME)/modules
INSTALL = $(MODULES)/install
COMPARE = $(MODULES)/compare
CFLAGS = -O -I$(EMHOME)/h
INCLUDES = -I$(EMHOME)/h
CFLAGS = -O $(INCLUDES)
CFILES = rd_arhdr.c wr_arhdr.c \
rd_ranlib.c wr_ranlib.c \
rd_bytes.c wr_bytes.c \
@ -52,6 +53,10 @@ byte_order: byte_order.o
byte_order.h: byte_order
byte_order > byte_order.h
lintlib: byte_order.h
lint $(INCLUDES) -Cobject $(CFILES)
mv llib-lobject.ln $(MODULES)/lib
#AUTOAUTOAUTOAUTOAUTOAUTOAUTO
rd_arhdr.o: byte_order.h object.h
wr_arhdr.o: byte_order.h object.h