view ticoff/Makefile @ 80:da103b9377e3

tiobjd: preparation for symbol sorting
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 26 Mar 2014 02:44:19 +0000
parents c2445afce514
children c20dc315a9d4
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	tiobjd
OBJS=	basics.o globals.o lowlevel.o main.o symtab.o tables.o
HDRS=	coffconst.h filestruct.h globals.h intstruct.h

all:	${PROG}

${PROG}: ${OBJS}
	${CC} -o $@ ${OBJS}

${OBJS}: ${HDRS}

install:
	install -c -o bin -g bin -m 755 ${PROG} /usr/local/bin

clean:
	rm -f *.o ${PROG} *err