home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Amiga
/
Workbench
/
Archivers
/
codegrWOS.lha
/
codegroup
/
Makefile
< prev
next >
Wrap
Makefile
|
1998-04-26
|
743b
|
39 lines
# CC = acc
PROGS = codegroup
CFLAGS = -O
all: $(PROGS)
clean:
rm -f $(PROGS) *.o *.bak *.shar core *.out
codegroup: codegroup.o
$(CC) codegroup.o -o codegroup $(CFLAGS)
# Create shell archive
shar:
shar -a README Makefile codegroup.1 codegroup.c >codegroup.shar
# View manual page
manpage:
nroff -man codegroup.1 | $(PAGER)
# Print manual page
printman:
ptroff -man codegroup.1
# Test it
test: codegroup
codegroup -e <codegroup >/tmp/codegroup1.bak
codegroup -d </tmp/codegroup1.bak >/tmp/codegroup2.bak
cmp codegroup /tmp/codegroup2.bak
codegroup -e codegroup /tmp/codegroup1.bak
codegroup -d /tmp/codegroup1.bak /tmp/codegroup2.bak
cmp codegroup /tmp/codegroup2.bak
# rm /tmp/codegroup1.bak /tmp/codegroup2.bak