[BACK]Return to Makefile.os2 CVS log [TXT][DIR] Up to [local] / src / usr.bin / less

Annotation of src/usr.bin/less/Makefile.os2, Revision 1.1.1.1

1.1       etheisen    1: # Makefile for less.
                      2: # OS/2 version, for emx+gcc compiler
                      3:
                      4: #### Start of system configuration section. ####
                      5:
                      6: CC = gcc -Zomf
                      7: CFLAGS = -I. -O
                      8: LDFLAGS = -s -Zcrtdll -Zstack 512
                      9: LIBS = -ltermcap
                     10: O = obj
                     11:
                     12: #### End of system configuration section. ####
                     13:
                     14: .SUFFIXES: .c .$(O)
                     15:
                     16: # This rule allows us to supply the necessary -D options
                     17: # in addition to whatever the user asks for.
                     18: .c.$(O):
                     19:        ${CC} -c ${CPPFLAGS} ${CFLAGS} $<
                     20:
                     21: OBJ =  main.$(O) screen.$(O) brac.$(O) ch.$(O) charset.$(O) cmdbuf.$(O) \
                     22:        command.$(O) decode.$(O) edit.$(O) filename.$(O) forwback.$(O) \
                     23:        help.$(O) ifile.$(O) input.$(O) jump.$(O) line.$(O) linenum.$(O) \
                     24:        lsystem.$(O) mark.$(O) optfunc.$(O) option.$(O) opttbl.$(O) os.$(O) \
                     25:        output.$(O) position.$(O) prompt.$(O) search.$(O) signal.$(O) \
                     26:        tags.$(O) ttyin.$(O) version.$(O)  regexp.$(O)
                     27:
                     28: all:    less.exe lesskey.exe
                     29:
                     30: less.exe: $(OBJ)
                     31:        $(CC) $(OBJ) -o $@ $(LDFLAGS) $(LIBS)
                     32:
                     33: lesskey.exe: lesskey.$(O) version.$(O)
                     34:        $(CC) $(CFLAGS) lesskey.$(O) version.$(O) -o $@ $(LDFLAGS)
                     35:
                     36: $(OBJ): defines.h less.h
                     37:
                     38: defines.h: defines.os2
                     39:        copy defines.os2 defines.h