add makefiles
This commit is contained in:
parent
d677cc1c16
commit
d0dff2bff0
3 changed files with 34 additions and 1 deletions
16
postscript-go/src/cmd/Makefile
Normal file
16
postscript-go/src/cmd/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
include $(GOROOT)/src/Make.inc
|
||||
|
||||
TARG=testpostscript
|
||||
OFILES=$(TARG:%=%.$O)
|
||||
|
||||
all: $(TARG)
|
||||
|
||||
$(TARG): %: %.$O
|
||||
$(LD) -o $@ $<
|
||||
|
||||
$(OFILES): %.$O: %.go Makefile
|
||||
$(GC) -o $@ $<
|
||||
|
||||
clean:
|
||||
rm -f *.[$(OS)] $(TARG) $(CLEANFILES)
|
|
@ -9,7 +9,8 @@ import (
|
|||
"image"
|
||||
"image/png"
|
||||
"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
|
||||
"postscript"
|
||||
//"postscript"
|
||||
"postscript-go.googlecode.com/svn/trunk/postscript-go/src/pkg/postscript"
|
||||
)
|
||||
|
||||
|
||||
|
|
16
postscript-go/src/pkg/postscript/Makefile
Normal file
16
postscript-go/src/pkg/postscript/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
include $(GOROOT)/src/Make.inc
|
||||
|
||||
TARG=postscript-go.googlecode.com/svn/trunk/postscript-go/src/pkg/postscript
|
||||
GOFILES=\
|
||||
interpreter.go\
|
||||
operators.go\
|
||||
operators_control.go\
|
||||
operators_dictionary.go\
|
||||
operators_graphics.go\
|
||||
operators_math.go\
|
||||
operators_relational.go\
|
||||
operators_stack.go\
|
||||
procedure.go\
|
||||
scanner.go\
|
||||
|
||||
include $(GOROOT)/src/Make.pkg
|
Loading…
Reference in a new issue