[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.2

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