File: Makefile

package info (click to toggle)
nstx 1.1-beta6-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 196 kB
  • ctags: 185
  • sloc: ansic: 1,580; sh: 334; makefile: 73
file content (21 lines) | stat: -rw-r--r-- 507 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CFLAGS += -ggdb -Wall -Werror -Wsign-compare 

NSTXD_SRCS = nstxd.c nstx_encode.c nstx_pstack.c nstx_dns.c nstx_tuntap.c nstx_queue.c
NSTXD_OBJS = ${NSTXD_SRCS:.c=.o}

NSTXCD_SRCS = nstxcd.c nstx_encode.c nstx_pstack.c nstx_dns.c nstx_tuntap.o nstx_queue.c
NSTXCD_OBJS = ${NSTXCD_SRCS:.c=.o}

PROGS = nstxd nstxcd

all: $(PROGS)

nstxd: $(NSTXD_OBJS)
	$(CC) $(CFLAGS) -o nstxd $(NSTXD_OBJS)

nstxcd: $(NSTXCD_OBJS)
	$(CC) $(CFLAGS) -o nstxcd $(NSTXCD_OBJS)

clean:
	rm -f *.o $(PROGS) Makefile.bak *~ core