File: Makefile

package info (click to toggle)
mgetty 1.2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,880 kB
  • sloc: ansic: 42,728; sh: 6,487; perl: 6,262; makefile: 1,457; tcl: 756; lisp: 283
file content (22 lines) | stat: -rw-r--r-- 470 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# $Id: Makefile,v 1.6 2010/04/23 14:23:18 gert Exp $
#
CC=cc
CFLAGS+=-I..
#LIBS=-lsocket
LIBS=
LOG_DIR=/var/log

OBJ=../tio.o ../logfile.o ../io.o ../modem.o ../locks.o ../config.o
SOBJ=../tio.o ../io.o ../modem.o ../locks.o ../config.o ../logfile.o 

all: tap atsms

tap: tap.o $(OBJ)
	$(CC) -o tap tap.o $(OBJ) $(LIBS)

atsms: atsms.o $(SOBJ)
	$(CC) -o atsms  atsms.o $(SOBJ) $(LIBS)

atsms.o: atsms.c
	$(CC) $(CFLAGS) -c -o atsms.o -DLOG_DIR=\"$(LOG_DIR)\" atsms.c