File: Makefile

package info (click to toggle)
pppupd 0.23-6
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 96 kB
  • ctags: 39
  • sloc: ansic: 399; makefile: 50; sh: 49; perl: 43
file content (30 lines) | stat: -rw-r--r-- 728 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
23
24
25
26
27
28
29
30
############################################################
#	Makefile for PPPupd				   #
#		Jake Bouvrie <swarthy@thetasys.com>	   #
#		Fri Jan 26 04:07:28 EST 1996		   #
############################################################

CC=gcc
CCFLAGS= -Wall -m486 -pipe -fomit-frame-pointer
CCDEBUGFLAGS= -Wall -m486 -ggdb -pipe 

CONFIGFILE=/etc/pppupd.cf

DEFS= -DCONFIG_PATH=\"$(CONFIGFILE)\"

#Enable the other one,if you want debug messages and reporting
#DEFS= -DCONFIG_PATH=\"$(CONFIGFILE)\" -D_REPORT_ -D_DEBUG_

CFILES=pppupd.c parse.c pppsubs.c misc.c
TARGET=pppupd

all:
	$(CC) $(DEFS) \
	$(CCFLAGS) \
	$(CFILES) -o $(TARGET)

debug:
	$(CC) $(CCDEBUGFLAGS) $(DEFS) $(CFILES) -o $(TARGET)

clean:
	rm -rf *~ *.o pppupd