Check-in [2d4b9986fd]
Overview
Comment:Updated Makefile to create the `bindir' if it doesn't exist. freecolor 0.8.5
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk | 0.8.5
Files: files | file ages | folders
SHA1: 2d4b9986fdad2bd7633ede4ff677ec470eea032b
User & Date: rkeene on 2005-06-04 09:54:12.000
Other Links: manifest | tags
Context
2005-10-18
15:03
Added a changelog to the build process. freecolor 0.8.6 check-in: dbbc446983 user: rkeene tags: trunk, 0.8.6
2005-06-04
09:54
Updated Makefile to create the `bindir' if it doesn't exist. freecolor 0.8.5 check-in: 2d4b9986fd user: rkeene tags: trunk, 0.8.5
2004-07-15
14:16
Updated the freecolor README (and changed version to 0.8.4) to note dependency on libstatgrab when non-Linux. check-in: fc2c85c944 user: rkeene tags: trunk, 0.8.4
Changes
16
17
18
19
20
21
22

23
24
25
26
27
28
29
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30







+








install-over-free:
	strip free
	cp -i free `which free`

install:
	strip free
	-$(INSTALL) -d $(bindir)
	$(INSTALL) -m 755 free $(bindir)/freecolor

clean:
	rm -f core free *~

distclean: clean
	rm -f Makefile config.log config.h config.status
63
64
65
66
67
68
69
70

71
72
73
74
75
76
77
63
64
65
66
67
68
69

70
71
72
73
74
75
76
77







-
+







#include <stdlib.h>
#include <stdio.h>
#ifndef NO_GETOPT
#include <getopt.h>
#endif
#define BARLEN 35
#define HEADERLEN 14
#define VERSION "0.8.4"
#define VERSION "0.8.5"


extern char *optarg;
extern int optind, opterr, optopt;

void bargraph(float percent, float secondper, char marks[BARLEN+HEADERLEN],int usefull) {
  char percentone[BARLEN], percenttwo[BARLEN], remain[BARLEN];