File: Makefile

package info (click to toggle)
uptimed 0.03-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 104 kB
  • ctags: 31
  • sloc: ansic: 279; makefile: 57; sh: 22
file content (17 lines) | stat: -rw-r--r-- 294 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CFLAGS=-O3 -Wall
TARGET=uptimed uprecords

all: $(TARGET)

clean:
	rm -f $(TARGET)

uptimed: uptimed.c
	gcc $(CFLAGS) -o uptimed uptimed.c

uprecords: uprecords.c
	gcc $(CFLAGS) -o uprecords uprecords.c

install:
	install -m 755 uptimed /usr/local/sbin
	install -m 755 uprecords /usr/local/bin