home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-12-04 | 761 b | 54 lines | [TEXT/R*ch] |
- # For gcc
- CC= gcc
- # For ANSI compilers
- #CC= cc
-
- #For Optimization
- #CFLAGS= -O2
- #For debugging
- CFLAGS= -g
- # For SCO ODT
- #EXTRA_LIBS= -lcrypt_i
-
- RM= /bin/rm -f
- #--- You shouldn't have to edit anything else. ---
-
- .c.o:
- $(CC) -c $(CFLAGS) $<
-
- all: htpasswd unescape inc2shtml
-
- ibm: $(OBJS)
- make all CC=gcc
-
- sun: $(OBJS)
- make all CC=gcc
-
- hp: $(OBJS)
- make all CC=gcc
-
- sgi: $(OBJS)
- make all CC=cc
-
- decmips: $(OBJS)
- make all CC=cc
-
- decaxp: $(OBJS)
- make all CC=cc
-
- tar: htpasswd unescape
- $(RM) htpasswd unescape
-
- htpasswd: htpasswd.c
- $(CC) $(CFLAGS) htpasswd.c -o htpasswd $(EXTRA_LIBS)
-
- unescape: unescape.c
- $(CC) $(CFLAGS) unescape.c -o unescape
-
- inc2shtml: inc2shtml.c
- $(CC) $(CFLAGS) inc2shtml.c -o inc2shtml
-
- clean:
- rm -f htpasswd unescape inc2shtml
-
-