Initial revision
This commit is contained in:
parent
ed7c8e8d02
commit
76193d7cb0
223 changed files with 32479 additions and 0 deletions
18
src/cmd/sam/Makefile
Normal file
18
src/cmd/sam/Makefile
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
H=errors.h mesg.h parse.h plumb.h sam.h
|
||||
SRC= address.c buff.c cmd.c disk.c error.c file.c io.c\
|
||||
list.c mesg.c moveto.c multi.c unix.c rasp.c regexp.c\
|
||||
sam.c shell.c string.c sys.c util.c xec.c plumb.c
|
||||
|
||||
CC=gcc
|
||||
PREFIX=$(HOME)
|
||||
#PREFIX=/usr/local
|
||||
CFLAGS=-I. -I$(PREFIX)/include -O -g
|
||||
LDFLAGS=-L$(PREFIX)/lib
|
||||
LDLIBS=-l9 -lfmt -lutf
|
||||
|
||||
all: sam
|
||||
sam: $(SRC) $(H)
|
||||
$(CC) -o $@ $(CFLAGS) $(SRC) $(LDFLAGS) $(LDLIBS)
|
||||
clean:
|
||||
rm -f *.o *~
|
||||
rm -f sam
|
||||
Loading…
Add table
Add a link
Reference in a new issue