comparison rvinterf/asyncshell/Makefile @ 872:5e46679bdb6a

fc-shell skeleton created
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 30 May 2015 06:42:32 +0000
parents
children 72d64c172d85
comparison
equal deleted inserted replaced
871:a5c8f48003cd 872:5e46679bdb6a
1 CC= gcc
2 CFLAGS= -O2 -I../include
3 PROG= fc-shell
4 OBJS= init.o main.o pktsort.o usercmd.o
5 LIBS= ../libasync/libasync.a ../libg23/libg23.a
6 INSTBIN=/usr/local/bin
7
8 all: ${PROG}
9
10 ${PROG}: ${OBJS} ${LIBS}
11 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
12
13 install: ${PROG}
14 mkdir -p ${INSTBIN}
15 install -c ${PROG} ${INSTBIN}
16
17 clean:
18 rm -f *.o *.out *errs ${PROG}