[d172b5]: / SimpleShmExample / Makefile  Maximize  Restore  History

Download this file

16 lines (11 with data), 168 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
CC=gcc
CFLAGS=-I.
LDFLAGS= -lrt
DEPS =
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
main: main.o
$(CC) -o main main.o $(LDFLAGS)
all: main
clean:
rm -f *.o main