[4b15e0]: / SimpleSocketExample / Makefile  Maximize  Restore  History

Download this file

16 lines (11 with data), 172 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
CC=gcc
CFLAGS=-I.
LDFLAGS= -lrt -lm
DEPS =

%.o: %.c $(DEPS)
	$(CC) -c -o $@ $< $(CFLAGS)

main: main.o
	$(CC) -o main main.o $(LDFLAGS)

all: main

clean:
	rm -f *.o main