1 # specify compiler flags
2 CFLAGS = -I $(INC) $(CDEFS) -g -O0 -Werror -Wall
9 INCLUDES= $(INC)/nmeap.h $(INC)/nmeap_def.h
12 all : $(LIB)/$(LIBNAME)
15 $(LIB)/$(LIBNAME) : $(COBJ)
16 -$(RM) $(LIB)/$(LIBNAME)
17 $(AR) -q $(LIB)/$(LIBNAME) $(COBJ)
19 # build all c files into .o files
21 $(CC) -c $(CFLAGS) $(SRC)/$< -o $@
23 # erase all intermediate and output files
27 -$(RM) $(LIB)/$(LIBNAME)
29 # include file dependencies