home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-07-29 | 620 b | 34 lines |
- #
- # Makefile for utils
- # for use with a unix hosted gcc based cross development system
- #
- # define CROSSDIR appropriately, and hit make
- #
- CROSSDIR = /dsrg/bammi/cross-minix
- CROSSBIN = $(CROSSDIR)/bin
- CROSSLIB = $(CROSSDIR)/lib
- CROSSINC = $(CROSSDIR)/include
-
- # Host GCC
- CC = /usr/local/bin/gcc
- # Host include dir
- HOSTINC = /usr/include
-
- CFLAGS = -O -g -I. -I$(HOSTINC) -I$(CROSSINC) -DCROSSATARI=1 -DMINIX=1\
- -DCROSSDIR=\"$(CROSSDIR)\" -DCROSSLIB=\"$(CROSSLIB)\"
-
- all: ld
-
- #
- # the 'regular' linker, produces atari executables
- #
- ld : ld.o
- $(CC) -o ld ld.o
-
- install: ld
- cp ld $(CROSSLIB)/gcc-ld
-
- clean:
- rm -f *.o core
-
-