add makefiles

This commit is contained in:
legoff.laurent 2010-12-13 10:12:59 +00:00
parent d677cc1c16
commit d0dff2bff0
3 changed files with 34 additions and 1 deletions

View 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)

View file

@ -9,7 +9,8 @@ import (
"image" "image"
"image/png" "image/png"
"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d" "draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
"postscript" //"postscript"
"postscript-go.googlecode.com/svn/trunk/postscript-go/src/pkg/postscript"
) )

View 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