~gpanders/iboot

ref: 82ec4a6b3d91281ee1f3c9131364c7decc7091ed iboot/Makefile -rw-r--r-- 195 bytes
82ec4a6bGreg Anders Initial commit 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
CFLAGS := -Wall -Wpedantic

netpower: netpower.c config.h
	$(CC) $(CFLAGS) -o $@ $<

config.h: config.def.h
	cp $< $@

install:
	install -m 0755 netpower /usr/local/bin/

clean:
	rm -rf netpower