forked from Lainports/freebsd-ports
standard with a few extensions. Ucc is released under BSD license. Ucc is specificaly designed for personal research and assist the undergraduate or graduate in compiler learning. We hope that Ucc will be a seedbed for new ideas and world-class optimizing techniques. Ucc's design and development goals is clear code structure,upstanding extensibility,retargetable and excellent optimization. WWW: http://ucc.sf.net PR: ports/126551 Submitted by: Wen Heping <wenheping at gmail.com>
36 lines
739 B
Text
36 lines
739 B
Text
--- Makefile.orig 2008-05-14 11:13:02.000000000 +0800
|
|
+++ Makefile 2008-08-15 13:25:35.000000000 +0800
|
|
@@ -1,21 +1,21 @@
|
|
-UCCDIR = /usr/local/lib/ucc
|
|
-export UCCDIR
|
|
+UCCDIR = /usr/local
|
|
+#export UCCDIR
|
|
|
|
all:
|
|
- make -C driver
|
|
- make -C ucl
|
|
+ gmake -C driver
|
|
+ gmake -C ucl
|
|
|
|
clean:
|
|
- make -C driver clean
|
|
- make -C ucl clean
|
|
+ gmake -C driver clean
|
|
+ gmake -C ucl clean
|
|
|
|
install:
|
|
- mkdir -p $(UCCDIR)
|
|
- cp driver/ucc $(UCCDIR)
|
|
- cp ucl/ucl $(UCCDIR)
|
|
- cp ucl/assert.o $(UCCDIR)
|
|
- cp -r ucl/linux/include $(UCCDIR)
|
|
+ mkdir -p $(UCCDIR)/include/ucc
|
|
+ cp driver/ucc $(UCCDIR)/bin
|
|
+ cp ucl/ucl $(UCCDIR)/bin
|
|
+ cp ucl/assert.o $(UCCDIR)/lib
|
|
+ cp ucl/linux/include/* $(UCCDIR)/include/ucc/
|
|
|
|
test:
|
|
- make -C ucl test
|
|
+ gmake -C ucl test
|
|
|