OLD | NEW |
---|---|
1 C = ply-image.c \ | 1 C = ply-image.c \ |
2 ply-frame-buffer.c \ | 2 ply-frame-buffer.c \ |
3 ply-list.c \ | 3 ply-list.c \ |
4 | 4 |
5 | 5 |
6 H = ply-frame-buffer.h \ | 6 H = ply-frame-buffer.h \ |
7 ply-image.h \ | 7 ply-image.h \ |
8 ply-list.h \ | 8 ply-list.h \ |
9 ply-utils.h \ | 9 ply-utils.h \ |
10 | 10 |
11 CFLAGS ?= -O2 | 11 CFLAGS ?= -O2 |
12 | 12 |
13 ply-image: $(C) $(H) Makefile | 13 ply-image: $(C) $(H) Makefile |
14 $(CC) $(CFLAGS) $(C) $(LIBS) -Wall -I. -o ply-image -o ply-image \ | 14 $(CC) $(CFLAGS) $(C) $(LIBS) -Wall -I. -o ply-image -o ply-image \ |
15 » » -lpng -lm | 15 » » -lpng -lrt -lm |
16 | 16 |
17 clean: | 17 clean: |
18 rm -f ply-image *~ | 18 rm -f ply-image *~ |
OLD | NEW |