File: Makefile

package info (click to toggle)
mclient 1.0-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 68 kB
  • ctags: 20
  • sloc: ansic: 317; makefile: 50
file content (15 lines) | stat: -rw-r--r-- 214 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

CC = gcc
objects = mclient.o
prog = mclient
CFLAGS = -g3 -O2 -Wall 
PG=

$(prog): $(objects)
	$(CC) -o $(prog) $(objects) ;

clean:
	rm $(prog) *.o

mclient.o : mclient.c
	$(CC) $(PG) $(CFLAGS) -c -o $@ mclient.c